[Tutor] unable to run file though dir path included

bodsda at googlemail.com bodsda at googlemail.com
Tue Dec 6 20:09:18 CET 2011


This is only a guess, but when your typing 'python foo.py' the command prompt is looking for foo.py in its path and can't find it, then it throws the error.

When your in the interpreter, python has already updated its path so it can find your file.

I don't think adding the directory to 'python\Lib\Site-packages' is doing what you think it should do.

Bodsda 
Sent from my BlackBerry® wireless device

-----Original Message-----
From: surya k <suryak at live.com>
Sender: tutor-bounces+bodsda=googlemail.com at python.org
Date: Wed, 7 Dec 2011 00:27:30 
To: Python Tutor<tutor at python.org>
Subject: [Tutor] unable to run file though dir path included

_______________________________________________
Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list