• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:27
CEST 06:27
KST 13:27
  • 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
Team Liquid Map Contest #22 - The Finalists14[ASL21] Ro16 Preview Pt1: Fresh Flow9[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy21
Community News
2026 GSL Season 1 Qualifiers11Maestros of the Game 2 announced32026 GSL Tour plans announced11Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid21
StarCraft 2
General
MaNa leaves Team Liquid 2026 GSL Tour plans announced Team Liquid Map Contest #22 - The Finalists Weekly Cups (April 6-12): herO doubles, "Villains" prevail Oliveira Would Have Returned If EWC Continued
Tourneys
GSL CK: More events planned pending crowdfunding 2026 GSL Season 1 Qualifiers Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) SEL Doubles (SC Evo Bimonthly)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 521 Memorable Boss The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Gypsy to Korea ASL21 General Discussion Pros React To: Tulbo in Ro.16 Group A Data needed
Tourneys
Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues [ASL21] Ro16 Group A [ASL21] Ro16 Group B
Strategy
Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend? Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread YouTube Thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Reappraising The Situation T…
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1507 users

Learning a programming language - Help!

Blogs > billy5000
Post a Reply
Normal
billy5000
Profile Blog Joined December 2010
United States865 Posts
June 10 2011 22:46 GMT
#1
So I've decided that I was going to try to be productive this summer, and have chosen to learn a programming language, specifically python. I'm about halfway through with Beginning Python: From Novice to Professional, but my motivation is crumbling every time I read/take notes. To be honest I was hoping the book would lead me to some interesting, real-life applications I may be tempted to use with the limited knowledge I have, but after skimming through the rest of the book, it seems more like a thoroughly descriptive manual with some examples here and there. I've checked out other books, and they're pretty much the same. The prospect of the unknown reason why I'm doing this is certainly an issue to me. As I have mentioned I'm only learning to program to keep me busy this summer, and I don't have specific projects in mind. My question is: how do you kindle your programming interests?

I understand it takes commitment and sacrifice to learn just about anything nowadays, but aren't there other things I could do while I learn to program? Like when I was learning spanish, I could at least enjoy applying what I learned by communicating with other classmates, comprehend silly spanish soap operas, etc.

Thanks

Tiger got to hunt, bird got to fly; Man got to sit and wonder, 'Why, why, why?' Tiger got to sleep, bird got to land; Man got to tell himself he understand. Vonnegut
Augury
Profile Blog Joined September 2008
United States758 Posts
June 10 2011 22:50 GMT
#2
http://code.google.com/edu/languages/google-python-class/

That's probably where I would go to learn Python.

There are a wide range of random programs you can make, but if you're looking to create something unique/useable.. you could always learn the Django framework after you finish learning Python.

I've only ever gotten into web development passionately, so I can't be of much assistance unless you're interested in that aspect of programming.
MasterOfChaos
Profile Blog Joined April 2007
Germany2896 Posts
Last Edited: 2011-06-10 22:52:53
June 10 2011 22:52 GMT
#3
Choose small easy projects that interest you and then code them. Perhaps it works, perhaps it fails but you learn something.
Writing games is always fun, no matter how trivial they are. Tetris, snakes/nibbles, a simple quiz game,... there is so much possible stuff to write.
LiquipediaOne eye to kill. Two eyes to live.
Cyclone999
Profile Blog Joined January 2011
Canada331 Posts
June 10 2011 22:55 GMT
#4
Well, I learned Java (well, kind of )
The only thing that got me interested was private servers (for MMORPGs) Although I won't go into detail, I instantly made a ton of developers around my level and we talked and learned Java together, and made a successful private server

Learning how to make functions and constructors to create trading systems, my friend using networking to make the server more stable...etc. It was all in good fun.

This post has nothing to do with Python, although it does answer the question about programming interests.

16 year old Masters Terran :D
HowitZer
Profile Joined February 2003
United States1610 Posts
Last Edited: 2011-06-10 23:13:22
June 10 2011 23:06 GMT
#5
I was going to say join a club and try to work with other people but I think it's probably best to just stick it out solo for a while. It'll pay off because you'll be self reliant and self motivated afterwards.
Human teleportation, molecular decimation, breakdown and reformation is inherently purging. It makes a man acute.
Cloud
Profile Blog Joined November 2004
Sexico5880 Posts
Last Edited: 2011-06-10 23:13:07
June 10 2011 23:12 GMT
#6
Stop taking notes. Programming is a craft: you learn by doing it. Anyone gets bored just reading books, they should be left for bedtime reading or even just reference. Try to find a study partner, maybe here on the site (I miiiiight be able to oblige since I've been wanting to learn python for a while). If you can't find one then look for the community: Google groups, IRC (there's a big python channel in freenode), twitter, facebook, the official python website should have links to blogs, etc.

There are more people in this site alone willing to learn python. XCetron is one of them, or you can pm me.
BlueLaguna on West, msg for game.
billy5000
Profile Blog Joined December 2010
United States865 Posts
June 10 2011 23:21 GMT
#7
On June 11 2011 08:12 Cloud wrote:
Stop taking notes. Programming is a craft: you learn by doing it. Anyone gets bored just reading books, they should be left for bedtime reading or even just reference. Try to find a study partner, maybe here on the site (I miiiiight be able to oblige since I've been wanting to learn python for a while). If you can't find one then look for the community: Google groups, IRC (there's a big python channel in freenode), twitter, facebook, the official python website should have links to blogs, etc.

There are more people in this site alone willing to learn python. XCetron is one of them, or you can pm me.


The only reason why I take notes is to quickly reference a certain section, so I can repeatedly work on it using IDLE and putting it into long term memory.

I'm quite nervous about finding a study partner as I have absolutely no programming background. Additionally, jargon may possibly make communications even more complicated :\ But I'll make sure that I check out the alternatives in the meantime.
Tiger got to hunt, bird got to fly; Man got to sit and wonder, 'Why, why, why?' Tiger got to sleep, bird got to land; Man got to tell himself he understand. Vonnegut
Xswordy
Profile Joined December 2010
United Kingdom425 Posts
June 10 2011 23:22 GMT
#8
http://www.youtube.com/user/thenewboston

This guy on youtube has great programming tutorials, especially Java. Look through his playlist, he has python aswell but I haven't looked through those so I don't know if they are that good, however the Java ones are really nice.
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
June 10 2011 23:25 GMT
#9
i learned a little python through scripting my irc client. if you're on irc and have some fun channel, try scripting some funny stuff! (for instance, xchat supports python plugins)
Gold isn't everything in life... you need wood, too!
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
June 10 2011 23:26 GMT
#10
This may not be to your tastes but you can attempt to solve the problems on project euler
(link) using Python to get yourself familiar with the language.
Official Entusman #21
Cloud
Profile Blog Joined November 2004
Sexico5880 Posts
June 10 2011 23:26 GMT
#11
On June 11 2011 08:21 billy5000 wrote:
Show nested quote +
On June 11 2011 08:12 Cloud wrote:
Stop taking notes. Programming is a craft: you learn by doing it. Anyone gets bored just reading books, they should be left for bedtime reading or even just reference. Try to find a study partner, maybe here on the site (I miiiiight be able to oblige since I've been wanting to learn python for a while). If you can't find one then look for the community: Google groups, IRC (there's a big python channel in freenode), twitter, facebook, the official python website should have links to blogs, etc.

There are more people in this site alone willing to learn python. XCetron is one of them, or you can pm me.


The only reason why I take notes is to quickly reference a certain section, so I can repeatedly work on it using IDLE and putting it into long term memory.

I'm quite nervous about finding a study partner as I have absolutely no programming background. Additionally, jargon may possibly make communications even more complicated :\ But I'll make sure that I check out the alternatives in the meantime.


Fear of looking stupid is one of the first things you have to unlearn. I mean, first it starts like with you, not wanting to find a partner, then it will be not willing to share your code with others for the same reason, even deleting your own code when there's the chance someone else might see it. It's actually a terrible habit for a programmer. I can be a partner if you're willing to let go of that habit. Everything I know about programming i learnt on the web and I assure you that jargon's not a problem.
BlueLaguna on West, msg for game.
Kentor *
Profile Blog Joined December 2007
United States5784 Posts
June 10 2011 23:27 GMT
#12
Make a loop that prints "poop" a thousand times. We've all done this right?
Flow.of.soul
Profile Blog Joined July 2007
United States210 Posts
June 10 2011 23:34 GMT
#13
I've taught myself a handful of python and the only experience I had with programming was the most primitive Java. I did what you are doing and learn all the basics of the language such as loops and iteration by doing simple Project Euler problems. After you can do some of those I would suggest just diving in and making something simple while learning how to program the necessary components of your project. The first thing I did was to make a application that simple parsed the HTML off of websites so that I could search multiple torrent sites. I then added a GUI and added some settings and while it was only 500 lines of code it took me three weeks to make because I had no idea how to do that stuff, but it was very rewarding afterwards.

As for coming up with a project, it should coincide with something else you're interested in. It's what so great about programming, you can apply it to anything if you set your mind too it! Also if you find something frustrated and wish it was automated, figure out how to do it with Python. One of my earlier projects was to program a simple back up utility that would back up my files to a USB hard drive. Sure, there are a lot of programs that could do this for me but I had never found one I liked with the simple features I needed so I just made one myself.

If you're looking for inspiration go onto open source hosting pages such as Google's Project Hosting, Github, or Source Forge and look at the random small projects people have released as open source. If you find something you think is useful and cool instead of just downloading the program, program it yourself. In the end programming should be enjoyable (or challenging if you enjoy a challenge) and it shouldn't feel like work if you're doing it in your spare time.
GigaFlop
Profile Blog Joined October 2010
United States1146 Posts
June 10 2011 23:49 GMT
#14
I think the best way to learn a language is to jump into it. However, coding languages are not that simple. Try wading in slowly. Once you're past Hello World, find a way to make it more complicated. I was in AP CS and learned Java, and one thing I think is a good idea is to first try to get a lot of code written for a small project, and then see what you can simplify. You don't need to know Recursion(recursion(recursion())) at first, so don't pay it any mind. I think you should just start with basic projects.

Maybe just start with a small calculator program?
(╯°□°)╯︵ ┻━┻ "Shift-Q oftentimes makes a capital Q" - Day[9] || iNcontrol - Alligator from heaven = ^
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2011-06-11 00:30:06
June 11 2011 00:29 GMT
#15
If you're going to take notes, make them digital notes that you can use for reference in the future. You will forget a lot.

I think your problem is more one of motivation than one of approach to learning programming. Work in microbursts.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
RedJustice
Profile Blog Joined February 2011
United States1004 Posts
June 11 2011 00:44 GMT
#16
Decide on something you want to make, then find out how to make it. Then you have an end goal you're working towards.
Z3kk
Profile Blog Joined December 2009
4099 Posts
Last Edited: 2011-06-11 00:50:27
June 11 2011 00:46 GMT
#17
Whoa, I was just about to ask about this myself. The google code stuff looks cool, thanks.

...but no Java classes D:
Failure is not falling down over and over again. Failure is refusing to get back up.
Zona
Profile Blog Joined May 2007
40426 Posts
June 11 2011 01:40 GMT
#18
I don't know if you've checked out "Learning Python" (O'Reilly) in particular, but it was an easy read for me - plus make sure you type in the examples and see how they work.

Not all books are equal.
"If you try responding to those absurd posts every day, you become more damaged. So I pay no attention to them at all." Jung Myung Hoon (aka Fantasy), as translated by Kimoleon
LuckyFool
Profile Blog Joined June 2007
United States9015 Posts
June 11 2011 01:50 GMT
#19
It's quite important to learn programming logic in general before learning a language. Once you can think like a programmer its fairly easy to catch on to various languages.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
June 11 2011 03:24 GMT
#20
Make games. Solve puzzles. More fun. Logic is more important, because once you have the logic you can just use the reference manual to code it. I don't think anyone expects someone to ever code from memory in real life, which is why I hated my school writing tests on programming, where we wrote programs...

I'm learning Haskell since it seemed interesting, and it'd be a nice introduction and refresher for C or Java or whatever I'm supposed to learn next year.

I'm a novice though, but just know you're not alone!
There is no one like you in the universe.
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/ ◕
Normal
Please log in or register to reply.
Live Events Refresh
Patches Events
22:00
5.4k Patch Clash #16
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft426
RuFF_SC2 225
Nina 141
Ketroc 52
StarCraft: Brood War
ggaemo 121
Icarus 10
Dota 2
NeuroSwarm162
League of Legends
JimRising 681
Heroes of the Storm
Khaldor128
Other Games
summit1g1084
hungrybox846
WinterStarcraft379
m0e_tv290
Livibee167
Organizations
Other Games
gamesdonequick676
BasetradeTV227
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1068
Other Games
• Scarra1091
• Shiphtur93
Upcoming Events
Sparkling Tuna Cup
5h 33m
WardiTV Map Contest Tou…
6h 33m
Ladder Legends
10h 33m
IPSL
11h 33m
JDConan vs TBD
Aegong vs rasowy
BSL
14h 33m
StRyKeR vs rasowy
Artosis vs Aether
JDConan vs OyAji
Hawk vs izu
CranKy Ducklings
19h 33m
Replay Cast
1d 4h
Wardi Open
1d 5h
Afreeca Starleague
1d 5h
Bisu vs Ample
Jaedong vs Flash
Monday Night Weeklies
1d 11h
[ Show More ]
RSL Revival
1d 21h
Afreeca Starleague
2 days
Barracks vs Leta
Royal vs Light
WardiTV Map Contest Tou…
2 days
RSL Revival
3 days
Replay Cast
3 days
The PondCast
4 days
KCM Race Survival
4 days
WardiTV Map Contest Tou…
4 days
Replay Cast
4 days
Escore
5 days
RSL Revival
5 days
WardiTV Map Contest Tou…
6 days
Ladder Legends
6 days
uThermal 2v2 Circuit
6 days
BSL
6 days
Liquipedia Results

Completed

Escore Tournament S2: W3
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
WardiTV TLMC #16
Nations Cup 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

Escore Tournament S2: W4
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
2026 GSL S2
RSL Revival: Season 5
2026 GSL S1
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 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.