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 Flash 2973 Dota 2Larva 878 Shuttle 850 actioN 523 ggaemo 270 NaDa 197 Leta 171 PianO 117 JulyZerg 71 HiyA 55 [ Show more ] League of Legends Counter-Strike Super Smash Bros Other Games Organizations StarCraft 2 StarCraft: Brood War Other Games StarCraft 2 StarCraft: Brood War
StarCraft 2 • practicex 99 StarCraft: Brood War• AfreecaTV YouTube • intothetv • Kozan • IndyKCrew • LaughNgamezSOOP • Laughngamez YouTube • Migwel • sooper7s League of Legends |
Master's Coliseum
Astrea vs Spirit
Zoun vs GuMiho
DaveTesta Events
OSC
OlimoLeague
LiuLi Cup
SKillous vs Solar
MaxPax vs SHIN
OSC
Replay Cast
LiuLi Cup
Clem vs Krystianer
Dark vs Jieshi
OSC
The PondCast
[ Show More ] Master's Coliseum
herO vs Reynor
MaxPax vs Serral
OSC
Master's Coliseum
H.4.0.S
Master's Coliseum
Chat StarLeague
|
|