0

How do I import a Clas in another file in Code Playground?

16th Jul 2016, 6:20 PM
Mike
Mike - avatar
3 Antworten
0
Doesnt work that way in the code playground mate. Sure you can import python builtin modules but not your own since the code playground doesn't support that. It is only for practice. Install python on your computer if you want to try importing your own modules.
17th Jul 2016, 6:28 PM
Gershon Fosu
Gershon Fosu - avatar
0
Thanks!
18th Jul 2016, 11:53 AM
Mike
Mike - avatar
0
I agree with Gershon. install Python in your PC., To import a file,firstly the file has to be in the same folder/common path only then Python can import the functions of the required file.
31st Jul 2016, 12:21 PM
Abdul Khader Shaik
Abdul Khader Shaik - avatar