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. | ||
| ||
[ Submit Event ] |
StarCraft 2 StarCraft: Brood War GuemChi 5215 Dota 2GoRush 2751 Horang2 1651 Mini 1324 Shuttle 1156 EffOrt 899 ggaemo 500 Pusan 447 Stork 373 ZerO 351 [ Show more ] Counter-Strike Super Smash Bros Other Games singsing2114 B2W.Neo1273 hiko1065 DeMusliM910 crisheroes492 ArmadaUGS389 Lowko311 XaKoH 218 Fuzer 157 Hui .103 NuckleDu91 Organizations
StarCraft 2 • musti20045 27 StarCraft: Brood War• 3DClanTV 10 • LUISG 1 • Gussbus • Laughngamez YouTube • Poblha • aXEnki • Migwel • intothetv • Kozan • IndyKCrew • LaughNgamez Trovo League of Legends |
ESL Pro Tour
Online Event
World Team League
ESL Pro Tour
Hatchery Cup
BSL
ESL Pro Tour
OSC
Sparkling Tuna Cup
[ Show More ] World Team League
ESL Pro Tour
BSL
ESL Pro Tour
H.4.0.S
GSL Code S
herO vs Reynor
soO vs GuMiho
|
|