• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:08
CET 00:08
KST 08:08
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)15Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1832
StarCraft 2
General
SC2 All-Star Invitational: Jan 17-18 Stellar Fest "01" Jersey Charity Auction Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
OSC Season 13 World Championship SC2 AI Tournament 2026 Sparkling Tuna Cup - Weekly Open Tournament $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) $25,000 Streamerzone StarCraft Pro Series announced
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
BW General Discussion [ASL21] Potential Map Candidates BGH Auto Balance -> http://bghmmr.eu/ A cwal.gg Extension - Easily keep track of anyone Potential ASL qualifier breakthroughs?
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Awesome Games Done Quick 2026! Beyond All Reason Nintendo Switch Thread Mechabellum Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1330 users

Learning a programming language - Help! - Page 2

Blogs > billy5000
Post a Reply
Prev 1 2 All
EscPlan9
Profile Blog Joined December 2006
United States2777 Posts
Last Edited: 2011-06-11 06:35:24
June 11 2011 06:35 GMT
#21
I completely agree with others saying you will enjoy it best by DOING it. Start a new program. Just comment in whatever you want to accomplish. I remember one of my first programs was a bunch of small tasks that you can choose from in a console menu:

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.
Undefeated TL Tecmo Super Bowl League Champion
Soulfire
Profile Joined September 2010
United States237 Posts
June 12 2011 03:55 GMT
#22
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?
◕ http://kiwiclonearmy.sadlife.net/ ◕
zoombini
Profile Joined June 2010
United States67 Posts
June 12 2011 04:59 GMT
#23
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
Profile Joined September 2010
United States237 Posts
Last Edited: 2011-06-12 06:50:07
June 12 2011 06:05 GMT
#24
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?
◕ http://kiwiclonearmy.sadlife.net/ ◕
zoombini
Profile Joined June 2010
United States67 Posts
June 12 2011 21:14 GMT
#25

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
Profile Joined September 2010
United States237 Posts
June 12 2011 22:16 GMT
#26
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.
◕ http://kiwiclonearmy.sadlife.net/ ◕
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
Next event in 12h 52m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft426
WinterStarcraft273
White-Ra 176
JuggernautJason115
SpeCial 67
StarCraft: Brood War
Shuttle 297
910 31
HiyA 8
League of Legends
C9.Mang0201
Super Smash Bros
PPMD35
Other Games
tarik_tv13647
gofns8292
Grubby3071
summit1g1234
FrodaN1066
shahzam441
Liquid`Hasu221
Harstem202
XaKoH 138
Maynarde71
KnowMe34
Railgan8
Organizations
Other Games
gamesdonequick2608
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 22 non-featured ]
StarCraft 2
• musti20045 50
• RyuSc2 28
• davetesta27
• Hupsaiya 19
• Reevou 7
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• blackmanpl 68
• Azhi_Dahaki11
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21257
League of Legends
• Doublelift3979
Other Games
• imaqtpie2139
• Scarra672
• Shiphtur180
Upcoming Events
OSC
12h 52m
SKillous vs ArT
ArT vs Babymarine
NightMare vs TriGGeR
YoungYakov vs TBD
All Star Teams
1d 3h
INnoVation vs soO
Serral vs herO
Cure vs Solar
sOs vs Scarlett
Classic vs Clem
Reynor vs Maru
uThermal 2v2 Circuit
1d 12h
AI Arena Tournament
1d 20h
All Star Teams
2 days
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
2 days
OSC
2 days
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
[ Show More ]
The PondCast
5 days
Liquipedia Results

Completed

Proleague 2026-01-14
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
SC2 All-Star Inv. 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.