0
How do I import a Clas in another file in Code Playground?
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.
0
Thanks!
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.