Python

Moderators: None (Apply to moderate this forum)
Number of threads: 473
Number of posts: 1172

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to set "Initial Directory" Posted by jadeite100 on 13 Jan 2011 at 11:52 PM
Hi All:

I am using WingIde 3.1.3 and Python 2.5.
In the menu "Edit/Configure Python". For "Initial Directory" I used "Custom" and set to "c:\test4". I am using windows xp with sp3.
I placed the stylecheck.py and stack.py files in c:\test4.
I click on "Python Shell". I type "stylecheck" and click enter and get the following error:
>> stylecheck
Traceback (most recent call last):
File "<string>", line 1, in <string>
NameError: name 'stylecheck' is not defined
>>>

How can I make the "Python shell" find my file "stylecheck.py"?
Any help or hint will be greatly appreciated it.

Yours,

Frustrated.
Thread Tree
jadeite100 How to set "Initial Directory" on 13 Jan 2011 at 11:52 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.