Import | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Import

How can i import models

28th Dec 2018, 7:02 PM
sH creations
sH creations - avatar
13 Answers
+ 2
In Python? Do you mean models or modules?
28th Dec 2018, 7:19 PM
Seb TheS
Seb TheS - avatar
+ 2
import module_name To get a list of all available modules type: help("modules") If you don't find wanted modules with help("modules") you nees to import them with pip. To get a list of all available module items type: import module_name print(dir(module_name)) You can also use import to import a program, module means a file of code. To do that you need to have 2 files in a same directory (folder), then you can use import file_name to import the program called file_name from the same directory.
28th Dec 2018, 7:51 PM
Seb TheS
Seb TheS - avatar
+ 2
Models
3rd Feb 2019, 2:55 PM
sH creations
sH creations - avatar
+ 2
sH creations to what?
3rd Feb 2019, 4:24 PM
Seb TheS
Seb TheS - avatar
+ 2
sH creations in web languages or programming languages?
3rd Feb 2019, 4:27 PM
Seb TheS
Seb TheS - avatar
+ 1
Sorry, I simply forget, but here it is: https://code.sololearn.com/cF519TD6704R/?ref=app
8th Feb 2019, 5:56 AM
Seb TheS
Seb TheS - avatar
0
I mean images sound tracks 3d modela etc
3rd Feb 2019, 2:56 PM
sH creations
sH creations - avatar
0
I want make a simple doodle stick man game
3rd Feb 2019, 4:26 PM
sH creations
sH creations - avatar
0
So the how to import the png format stick man image
3rd Feb 2019, 4:27 PM
sH creations
sH creations - avatar
0
4th Feb 2019, 2:25 PM
sH creations
sH creations - avatar
0
Will you please forward your WhatsApp no.
4th Feb 2019, 2:25 PM
sH creations
sH creations - avatar
0
sH creations I can give you a sample, with you can insert images to your program with Pygame, but I am busy now.
4th Feb 2019, 2:27 PM
Seb TheS
Seb TheS - avatar
0
Ok.. Thank u for your reply
8th Feb 2019, 3:12 AM
sH creations
sH creations - avatar