1) Do task 1
2) Task 2
...
0) Quit
etc
It didn't matter so much what my tasks did. It's more that I enjoyed the process of figuring out for myself what needs to be done.
| Blogs > billy5000 |
|
EscPlan9
United States2777 Posts
1) Do task 1 2) Task 2 ... 0) Quit etc It didn't matter so much what my tasks did. It's more that I enjoyed the process of figuring out for myself what needs to be done. | ||
|
Soulfire
United States237 Posts
Basically, I'm unable to run Python scripts. I create a text document, enter some code, rename it xxx.py, and associate all .py files with the interpreter, python.exe, as instructed. However, when I open/run the .py file, all I get is the empty python command line (aside from version info, etc), as you would get from simply running python.exe. Anyone? | ||
|
zoombini
United States67 Posts
On June 12 2011 12:55 Soulfire wrote: I also just started learning Python, but appear to have run into an issue that prevents me from doing so. Hopefully someone here can help. Basically, I'm unable to run Python scripts. I create a text document, enter some code, rename it xxx.py, and associate all .py files with the interpreter, python.exe, as instructed. However, when I open/run the .py file, all I get is the empty python command line (aside from version info, etc), as you would get from simply running python.exe. Anyone? Why don't you just use Python's IDLE instead? All you have to do is press F5 to run your code. | ||
|
Soulfire
United States237 Posts
On June 12 2011 13:59 zoombini wrote: Show nested quote + On June 12 2011 12:55 Soulfire wrote: I also just started learning Python, but appear to have run into an issue that prevents me from doing so. Hopefully someone here can help. Basically, I'm unable to run Python scripts. I create a text document, enter some code, rename it xxx.py, and associate all .py files with the interpreter, python.exe, as instructed. However, when I open/run the .py file, all I get is the empty python command line (aside from version info, etc), as you would get from simply running python.exe. Anyone? Why don't you just use Python's IDLE instead? All you have to do is press F5 to run your code. Awesome, I didn't even know that was there. Do you by chance know what the .exe for the IDLE GUI is, so that I can set windows to open all .py files with it with a simple double click on the .py file? I can only find the shortcut to it, and it doesn't seem to direct to anything in the Properties. Likely there isn't one at all and I'm dumb, and if that's the case, is it possible to set the default program for .py files to that IDLE GUI at all? Thanks again. EDIT: Nevermind, found it. It's a well-hidden file named idle.pyw. EDIT 2: Actually, still can't tell .py files to open with IDLE. So as of right now the only way to run scripts is through a command in the command line/the IDLE interface (File --> Open). Anyone know how to convince Windows to open .py files into command line, IDLE, anything? | ||
|
zoombini
United States67 Posts
EDIT 2: Actually, still can't tell .py files to open with IDLE. So as of right now the only way to run scripts is through a command in the command line/the IDLE interface (File --> Open). Anyone know how to convince Windows to open .py files into command line, IDLE, anything? Try right click on the .py file and click Edit with IDLE. | ||
|
Soulfire
United States237 Posts
On June 13 2011 06:14 zoombini wrote: Show nested quote + EDIT 2: Actually, still can't tell .py files to open with IDLE. So as of right now the only way to run scripts is through a command in the command line/the IDLE interface (File --> Open). Anyone know how to convince Windows to open .py files into command line, IDLE, anything? Try right click on the .py file and click Edit with IDLE. That's what I've been doing, but I get an error message when I try to open with IDLE, something about the .py file "not being a valid Win32 application". When I try to open with python.exe in the same way, it just doesn't open the .py file and just starts an empty python command line. Getting either of these to work would be fine for me. | ||
| ||
StarCraft 2 StarCraft: Brood War Dota 2 League of Legends Other Games Organizations
StarCraft 2 • Berry_CruncH156 StarCraft: Brood War• Hupsaiya • davetesta41 • Kozan • LaughNgamezSOOP • sooper7s • AfreecaTV YouTube • intothetv • Migwel • IndyKCrew Dota 2 League of Legends Other Games |
|
Replay Cast
Wardi Open
Monday Night Weeklies
StarCraft2.fi
Replay Cast
Wardi Open
StarCraft2.fi
PiGosaur Monday
Wardi Open
StarCraft2.fi
[ Show More ] Replay Cast
The PondCast
Replay Cast
Korean StarCraft League
CranKy Ducklings
SC Evo League
BSL 21
Sziky vs OyAji
Gypsy vs eOnzErG
Sparkling Tuna Cup
BSL 21
Bonyth vs StRyKeR
Tarson vs Dandy
|
|
|