« Return to Thread: Getting started with Python

Getting started with Python

by ppaarrkk :: Rate this Message:

Reply to Author | View in Thread

I can't.


>>> import file.py


is all very well if the interpreter knows where file.py is.


I want to do this :

>>> import /directory1/directory2/file.py


Is this not possible ?

 « Return to Thread: Getting started with Python

LightInTheBox - Buy quality products at wholesale price!