0

Importing modules?

Hi, can someone help me, please? I am using the code playground, on python, and was wondering if you could import modules, and functions from those modules into another python file. Can you import things from your own computer (not in sololearn), do you have to export everything in order to import?

12th Mar 2021, 9:25 AM
Kamil Hamid
Kamil Hamid - avatar
1 Answer
+ 5
You simply create a file, and import anything from it in another file with exporting. It won't work on sololearn !
12th Mar 2021, 9:29 AM
Abhay
Abhay - avatar