• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:06
CET 10:06
KST 18:06
  • 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
ByuL: The Forgotten Master of ZvT29Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Team Liquid Map Contest - Preparation Notice4Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza1Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0258
StarCraft 2
General
Team Liquid Map Contest - Preparation Notice How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? ByuL: The Forgotten Master of ZvT Nexon's StarCraft game could be FPS, led by UMS maker Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 515 Together Forever Mutation # 514 Ulnar New Year Mutation # 513 Attrition Warfare
Brood War
General
It's March 3rd BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ CasterMuse Youtube Recent recommended BW games
Tourneys
[Megathread] Daily Proleagues BWCL Season 64 Announcement The Casual Games of the Week Thread [LIVE] [S:21] ASL Season Open Day 1
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Diablo 2 thread Path of Exile
Dota 2
The Story of Wings Gaming 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
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread NASA and the Private Sector
Fan Clubs
The IdrA Fan Club
Media & Entertainment
RSVSR Where to Unlock the REV 46 in Black Ops 7 U4GM Arknights Endfield First Week Tips U4GM Tips for POE 2 Negative Rarity Breakpoints U4GM How to Build Big Killstreaks in Diablo 4 [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Just Watchers: Why Some Only…
TrAiDoS
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1691 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
Replay Cast
09:00
WardiTV Mondays #74
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 196
ProTech120
StarCraft: Brood War
Sea 38574
Calm 4771
Horang2 869
Hyuk 441
PianO 248
Shuttle 165
Sharp 122
Soma 102
Dewaltoss 87
Larva 74
[ Show more ]
Light 58
Backho 52
Hm[arnc] 39
ToSsGirL 38
Free 31
sSak 26
Sacsri 21
910 21
NaDa 17
GoRush 12
JulyZerg 12
sorry 6
ajuk12(nOOB) 5
Terrorterran 4
Dota 2
XaKoH 483
Counter-Strike
Stewie2K957
shoxiejesuss650
olofmeister249
allub249
Other Games
summit1g7612
Liquid`RaSZi660
ceh9486
singsing414
Happy217
Livibee200
Mew2King48
Organizations
Other Games
gamesdonequick669
StarCraft: Brood War
lovetv 13
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 62
• LUISG 13
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt580
Upcoming Events
Replay Cast
14h 54m
The PondCast
1d
KCM Race Survival
1d
WardiTV Winter Champion…
1d 2h
Replay Cast
1d 14h
Ultimate Battle
2 days
Light vs ZerO
WardiTV Winter Champion…
2 days
Classic vs Nicoract
herO vs YoungYakov
ByuN vs Gerald
Clem vs Krystianer
Replay Cast
2 days
CranKy Ducklings
3 days
WardiTV Winter Champion…
3 days
MaxPax vs Spirit
Bunny vs Rogue
Cure vs SHIN
Solar vs Zoun
[ Show More ]
Replay Cast
3 days
Sparkling Tuna Cup
4 days
WardiTV Winter Champion…
4 days
Replay Cast
4 days
Replay Cast
4 days
Monday Night Weeklies
5 days
Replay Cast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-03-03
PiG Sty Festival 7.0
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
Spring Cup 2026
WardiTV Winter 2026
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
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.