• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 21:31
CET 03:31
KST 11:31
  • 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 Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
BGE Stara Zagora 2026 announced14[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2
StarCraft 2
General
BGE Stara Zagora 2026 announced Information Request Regarding Chinese Ladder SC: Evo Complete - Ranked Ladder OPEN ALPHA When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win
Tourneys
$5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest RSL Revival: Season 3 Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ FlaSh's Valkyrie Copium BW General Discussion A cwal.gg Extension - Easily keep track of anyone Which season is the best in ASL?
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET [BSL21] RO16 Group C - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Should offensive tower rushing be viable in RTS games? Path of Exile Nintendo Switch Thread The Perfect Game 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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread Things Aren’t Peaceful in Palestine Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2397 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
Next event in 6h 29m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft438
SpeCial 154
RuFF_SC2 116
StarCraft: Brood War
Calm 3821
Artosis 817
Noble 33
Bale 19
Dota 2
monkeys_forever511
League of Legends
JimRising 492
Other Games
summit1g22324
shahzam561
Mew2King130
Maynarde116
Organizations
Other Games
gamesdonequick2107
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Berry_CruncH156
• Hupsaiya 78
• davetesta41
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• RayReign 11
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22227
League of Legends
• Doublelift4702
• Rush816
Other Games
• Scarra2618
Upcoming Events
Replay Cast
6h 29m
Wardi Open
9h 29m
Monday Night Weeklies
14h 29m
StarCraft2.fi
14h 29m
Replay Cast
21h 29m
Wardi Open
1d 9h
StarCraft2.fi
1d 14h
PiGosaur Monday
1d 22h
Wardi Open
2 days
StarCraft2.fi
2 days
[ Show More ]
Replay Cast
2 days
The PondCast
3 days
Replay Cast
3 days
Korean StarCraft League
5 days
CranKy Ducklings
5 days
SC Evo League
5 days
BSL 21
5 days
Sziky vs OyAji
Gypsy vs eOnzErG
Sparkling Tuna Cup
6 days
BSL 21
6 days
Bonyth vs StRyKeR
Tarson vs Dandy
Liquipedia Results

Completed

Proleague 2025-11-28
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
META Madness #9
Light HT
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
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 © 2025 TLnet. All Rights Reserved.