ppaarrkk | 16 May 14:16
Picon

Getting started with Python


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 ?

--

-- 
View this message in context: http://www.nabble.com/Getting-started-with-Python-tp17273337p17273337.html
Sent from the Python - tutor mailing list archive at Nabble.com.

_______________________________________________
Tutor maillist  -  Tutor <at> python.org
http://mail.python.org/mailman/listinfo/tutor


Gmane