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. | ||
| ||
Next event in 7h 22m
[ Submit Event ] |
StarCraft 2 StarCraft: Brood War Counter-Strike Other Games summit1g13969 shahzam1121 Day[9].tv598 JimRising 575 Maynarde215 RuFF_SC2107 NuckleDu89 Trikslyr81 Liquid`Ken23 Organizations
StarCraft 2 • Berry_CruncH196 StarCraft: Brood War• practicex 29 • RayReign 14 • IndyKCrew • Migwel • AfreecaTV YouTube • aXEnki • intothetv • Gussbus • Kozan • LaughNgamez Trovo • Laughngamez YouTube • Poblha Dota 2 League of Legends Other Games |
WardiTV Korean Royale
Club NV x Duckling Show…
Kung Fu Cup
H.4.0.S
GSL Code S
Cure vs Rogue
Stats vs Dark
Online Event
PiG vs DisReSpeCT
Cure vs MaxPax
World Team League
Korean StarCraft League
Online Event
World Team League
[ Show More ] Online Event
Sparkling Tuna Cup
World Team League
|
|