Anonymous Asked in Cars &Transportation · 2 weeks ago

How do you import a file into Python?

Contents
just put the file "filename.py" into the same dir as source.py if you sure you have created a file named "filename.py". Then import filename in source.py will work. Show activity on this post. or you can set PYTHONPATH environment variable for directory. 5 сент. 2013 г.


Related Questions

Relevance
Write us your question, the answer will be received in 24 hours