• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:52
CEST 21:52
KST 04:52
  • 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
uThermal's 2v2 Tour: $15,000 Main Event5Serral wins EWC 202543Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9
Community News
Weekly Cups (Jul 28-Aug 3): herO doubles up6LiuLi Cup - August 2025 Tournaments5[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder10EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced63
StarCraft 2
General
Rogue Talks: "Koreans could dominate again" uThermal's 2v2 Tour: $15,000 Main Event The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread Official Ladder Map Pool Update (April 28, 2025)
Tourneys
SC2's Safe House 2 - October 18 & 19 LiuLi Cup - August 2025 Tournaments $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays RSL Season 2 Qualifier Links and Dates
Strategy
Custom Maps
External Content
Mutation # 485 Death from Below Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars
Brood War
General
ASL Season 20 Ro24 Groups BGH Auto Balance -> http://bghmmr.eu/ StarCraft player reflex TE scores BW General Discussion Google Play ASL (Season 20) Announced
Tourneys
KCM 2025 Season 3 Small VOD Thread 2.0 [Megathread] Daily Proleagues [ASL20] Online Qualifiers Day 2
Strategy
Fighting Spirit mining rates [G] Mineral Boosting Simple Questions, Simple Answers Muta micro map competition
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever Beyond All Reason [MMORPG] Tree of Savior (Successor of Ragnarok)
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
[\m/] Heavy Metal Thread [Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Gaming After Dark: Poor Slee…
TrAiDoS
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
Customize Sidebar...

Website Feedback

Closed Threads



Active: 757 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
uThermal 2v2 Circuit
15:00
Group Stage Day 1
WardiTV995
uThermal899
IndyStarCraft 250
TKL 235
SteadfastSC202
LamboSC2174
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
uThermal 899
IndyStarCraft 250
TKL 235
SteadfastSC 202
LamboSC2 174
ZombieGrub91
BRAT_OK 81
goblin 41
StarCraft: Brood War
Britney 19001
Calm 3070
ggaemo 515
Jaedong 386
Larva 294
actioN 187
TY 38
Aegong 33
Mong 18
yabsab 13
[ Show more ]
IntoTheRainbow 8
NaDa 7
ivOry 3
Stormgate
B2W.Neo210
JuggernautJason109
RushiSC32
UpATreeSC4
Counter-Strike
fl0m1983
Heroes of the Storm
Liquid`Hasu466
Khaldor155
Other Games
gofns11572
Grubby2978
Beastyqt389
KnowMe167
Fuzer 109
oskar106
Livibee78
Trikslyr57
EmSc Tv 14
Organizations
Other Games
EmSc Tv 14
StarCraft 2
EmSc2Tv 14
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• kabyraGe 333
• davetesta23
• tFFMrPink 13
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
• IndyKCrew
StarCraft: Brood War
• 80smullet 27
• FirePhoenix10
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21096
• WagamamaTV775
League of Legends
• TFBlade1099
Other Games
• imaqtpie1454
• Shiphtur282
Upcoming Events
RSL Revival
6h 8m
RSL Revival
14h 8m
SC Evo League
16h 8m
uThermal 2v2 Circuit
19h 8m
CSO Cup
20h 8m
Sparkling Tuna Cup
1d 14h
uThermal 2v2 Circuit
1d 19h
Wardi Open
2 days
RotterdaM Event
2 days
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
The PondCast
5 days
Replay Cast
6 days
LiuLi Cup
6 days
Liquipedia Results

Completed

ASL Season 20: Qualifier #2
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
uThermal 2v2 Main Event
HCC Europe
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
BSL 21 Team A
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 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.