General Development

Python File Trouble – Matty

Matty

Member

Posts: 12
From: Weehawken, NJ, USA
Registered: 08-30-2006
Hello:

I have studied Python while in University and have decided to take it back up for awhile and use it in some practice projects. I am not having trouble with coding, just, of all things, *SAVING*.

I am not sure of the default folder for Python run-files (tried Lib, libs, etc)and each time I save I get a [icon] indicating that the file is unable to be opened (although I just built and ran it seconds before)

Any ideas? Thank- you in advance.

------------------
http://i52.photobucket.com/albums/g31/reranger/luth.jpg

CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
quote:
Originally posted by Matty:
and each time I save I get a [icon] indicating that the file is unable to be opened (although I just built and ran it seconds before)

This sounds like a python on windows problem. Is there a python snake icon for your python files? Can you go to a DOS prompt and type C:\Python24\python.exe <location of .py file> and see it that works?

------------------
All Your Base Are Belong To Us!!! chown -r us ./base
"After three days without programming, life becomes meaningless.'' -- Tao of Programming Book 2

[This message has been edited by CPUFreak91 (edited September 16, 2006).]

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
If your using IDLE in windows remember to add the .py extension when saving your scripts.

------------------
"One World. One Web. One Program." -Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" -Adolf Hitler
"I believe in freedom... not freedom like America, freedom like a shopping cart"