0

Files in Python

I don't know, how to create or import files to be able to use by a Python code.

15th Feb 2018, 10:14 AM
Seb TheS
Seb TheS - avatar
1 Answer
+ 1
You mean methods/functions from other files? If so, use "from <folder.file> import <method>" where folder.file is in an upper folder from the current working directory.
27th Feb 2018, 10:05 PM
Radu Daescu
Radu Daescu - avatar