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. | ||
| ||
ESL Open Cup
Asia Open Cup #228
[ Submit Event ] |
StarCraft 2 StarCraft: Brood War GuemChi 3709 Dota 2Rain 2869 Calm 2137 Bisu 1194 Horang2 1050 Larva 718 BeSt 419 Jaedong 339 ggaemo 229 ToSsGirL 202 [ Show more ] League of Legends Counter-Strike Other Games Organizations Other Games StarCraft: Brood War StarCraft 2 StarCraft: Brood War StarCraft 2 StarCraft: Brood War
StarCraft 2 • Response 4 StarCraft: Brood War• Kozan • Poblha • AfreecaTV YouTube • aXEnki • intothetv • Gussbus • IndyKCrew • LaughNgamez Trovo • Laughngamez YouTube • Migwel Dota 2 |
ESL Open Cup
ESL Open Cup
Kung Fu Cup
H.4.0.S
GSL Code S
Cure vs Rogue
Stats vs Dark
World Team League
Korean StarCraft League
Online Event
World Team League
Online Event
[ Show More ] Sparkling Tuna Cup
World Team League
|
|