0

Import

I can't import the sublime file into python3 , my operating system is Mac.

30th Mar 2017, 4:30 AM
Codzoe
1 Resposta
+ 1
First of all, you can't import files. You can only import modules you have installed. If you want to open a file, you have to use the open function: open("filename", "mode") The mode can be r for reading, w for writing, ...
12th Apr 2017, 11:12 PM
Anselm