The maker is misaligned with the characters, but I guess that the problem
is that the path contains ' and is also delimited by those characters. The
path should be escaped in Spyder.
Le lundi 4 novembre 2013 21:32:36 UTC+1, Parks Banyon a écrit :
>
> Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
> on win32
> Type "help", "copyright", "credits" or "license" for more information.
> Imported NumPy 1.7.1, SciPy 0.12.0, Matplotlib 1.3.0 + guidata 1.6.1,
> guiqwt 2.3.1
> Type "scientific" for more details.
> >>> runfile('C:/Program Files (x86)/Firaxis Games/Sid Meier's
> Pirates!/ModMan/MM.py', wdir=r'C:/Program Files (x86)/Firaxis Games/Sid
> Meier's Pirates!/ModMan')
> File "<stdin>", line 1
> runfile('C:/Program Files (x86)/Firaxis Games/Sid Meier's
> Pirates!/ModMan/MM.py', wdir=r'C:/Program Files (x86)/Firaxis Games/Sid
> Meier's Pirates!/ModMan')
> ^
> SyntaxError: invalid syntax
> >>>
>
> This is the console output if i try to run a script NOT located in the
> winpython directory.I cant change the various directories names for easy
> user requirements.
>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.