[Tutor] a newbie question

Daniel Coughlin kauphlyn@speakeasy.org
Thu, 23 Aug 2001 18:50:30 -0700 (PDT)

try this:

>>> execfile("c:\\download\\practice python\\p17.py")

note the quoatation marks and two backslashes. backslash is a special character;
so, you need to use two to tell python that they are there.

hope this helps!


On Thu, 23 Aug 2001, Gino Kuo wrote:

> Hi, all
> I am learning Python as my first computer programming language.  So I hope
> this question is worth your time.
> I tried to run program stored in the interpreter under window 98.  Here is
> the path, C:\DownLoad\practice python\p17.py
> >>>execfile(C:\DownLoad\practice python\p17.py)
> It is a SyntexError.  How do I fix it?
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor