• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 16:30
CET 22:30
KST 06:30
  • 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
Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump0Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3
StarCraft 2
General
Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win
Tourneys
StarCraft2.fi 15th Anniversary Cup Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Info - Dec 13 and 14! StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Foreign Brood War Data analysis on 70 million replays MBCGame Torrents
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile ZeroSpace Megathread The Perfect Game
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
Things Aren’t Peaceful in Palestine US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream? The Automated Ban List
Blogs
I decided to write a webnov…
DjKniteX
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1600 users

Python Programming

Blogs > [r]h_probe
Post a Reply
1 2 Next All
[r]h_probe
Profile Blog Joined October 2002
United States188 Posts
February 19 2009 07:51 GMT
#1
Hi all,

Long time member here at TL, never really got into posting much but I thought I would give it a try.

Currently I am a beginner at programming and I have installed python and have written a couple of simple scripts (guess the random number, montecarlo simulation, etc etc). I am a double major in mathematics and economics, so I am trying to use python a bit computationally.

Does anyone know any good modules/libraries/addons (not sure what they are called) that support numerical analysis stuff and a way to plot stuff on graphs?

I have heard stuff about numpy and some sort of plotting addon, but I am super confused on even installing it even though they have "instructions (confusing)" on their website. Do you guys know any other things or know how to install stuff like that? What are some good forums that are beginner friendly.

Right now I am trying to learn programming on projects and trying to figure shit out. What other ways are good at learning programming.

cheers

*
Yaqoob
Profile Blog Joined March 2005
Canada3341 Posts
February 19 2009 08:01 GMT
#2
I thought this had something to do with the map Python.
김택용 Fighting!
[r]h_probe
Profile Blog Joined October 2002
United States188 Posts
February 19 2009 08:05 GMT
#3
That's why I included "programming" in the title :D
Hot_Bid
Profile Blog Joined October 2003
Braavos36387 Posts
February 19 2009 08:23 GMT
#4
which version of python do you have? 1.1 or 1.3?

because in 1.3 its harder to spot bugs

ba dum ch
@Hot_Bid on Twitter - ESPORTS life since 2010 - http://i.imgur.com/U2psw.png
prOxi.swAMi
Profile Blog Joined November 2004
Australia3091 Posts
February 19 2009 08:49 GMT
#5
Should be able to get what you want by googling python math api
Oh no
zatic
Profile Blog Joined September 2007
Zurich15357 Posts
February 19 2009 09:08 GMT
#6
Python is very popular in the Sciene / Math community. I bet there are numerous packages out there, you'll have to sift though google results for a while.
ModeratorI know Teamliquid is known as a massive building
meegrean
Profile Joined May 2008
Thailand7699 Posts
February 19 2009 09:43 GMT
#7
I'm getting sick of Python.
Brood War loyalist
Ilikestarcraft
Profile Blog Joined November 2004
Korea (South)17731 Posts
February 19 2009 09:54 GMT
#8
On February 19 2009 17:05 [r]h_probe wrote:
That's why I included "programming" in the title :D

i saw it as python progamming -_-;;;
"Nana is a goddess. Or at very least, Nana is my goddess." - KazeHydra
Mastermind
Profile Blog Joined April 2008
Canada7096 Posts
February 19 2009 09:56 GMT
#9
On February 19 2009 18:54 Ilikestarcraft wrote:
Show nested quote +
On February 19 2009 17:05 [r]h_probe wrote:
That's why I included "programming" in the title :D

i saw it as python progamming -_-;;;

whats progamming?
fonger
Profile Blog Joined March 2006
United Kingdom1218 Posts
February 19 2009 10:03 GMT
#10
On February 19 2009 18:08 zatic wrote:
Python is very popular in the Sciene / Math community. I bet there are numerous packages out there, you'll have to sift though google results for a while.

From what I hear, there aren't that many python packages out there. I've been told I'm one of the lucky few.
CTStalker
Profile Blog Joined November 2004
Canada9720 Posts
February 19 2009 10:23 GMT
#11
http://www.python.org/ and their forums should have a nice list of most of the popular libraries and apis available for cpython.

python is a great first programming language, because it has both a concise and easily readable syntax. one thing that may throw off beginners is the need for indentation and the importance of white space in general.
By the way, my name is Funk. I am not of your world
Argoth.
Profile Joined December 2004
Germany1961 Posts
February 19 2009 10:29 GMT
#12
I don't find that need for indentation bad at all. It enhances the readability of the code. Having to take care of all the braces in other languages is much more annoying.
ruXxar
Profile Blog Joined January 2009
Norway5669 Posts
Last Edited: 2009-02-19 11:49:40
February 19 2009 11:45 GMT
#13
I have taken a semester course in Python, so I know a few basics, but not too much really. I find that just doing the weekly exercises that you are given enhances your understanding alot. When you poke around and find out what works and what doesnt work. After a while you learn the syntax by heart.
THAT is when programming becomes fun, because now you can focus on making the program, and not fighting with that stupid syntax all the time(although you'll still run into alot of errors i bet :p)

I don't know if you're taking a class or not, but motivation is very important, as with any other task.
If your motivation is there, I'd recommend buying a book on Python, because it is often more structured and the tasks are setup to increase your knowledge incrementally. Atleast that is my experience.

When I tried to get into programming by just reading on the internet i got very confused, a book helped me tons atleast.

On indentation : I love it. I've done programming in both java and Python, and I find the Python code alot cleaner.
"alright guys im claiming my role im actually politician I can manipulate a persons vote during the day phase, used it on clarity last phase and forced him to vote for HF. full role name donald trump, definitely town sided". - EBH
Ilikestarcraft
Profile Blog Joined November 2004
Korea (South)17731 Posts
February 19 2009 12:05 GMT
#14
On February 19 2009 18:56 Mastermind wrote:
Show nested quote +
On February 19 2009 18:54 Ilikestarcraft wrote:
On February 19 2009 17:05 [r]h_probe wrote:
That's why I included "programming" in the title :D

i saw it as python progamming -_-;;;

whats progamming?

progaming oops
"Nana is a goddess. Or at very least, Nana is my goddess." - KazeHydra
miseiler
Profile Blog Joined October 2008
United States1389 Posts
February 19 2009 12:41 GMT
#15
I'm a python dev, ask me anything you like.

You want numpy and matplotlib. I sometimes use PIL (python imaging library) to draw graphs, but that's because I have something of a masochistic streak.

http://matplotlib.sourceforge.net/users/pyplot_tutorial.html

If you google numpy/matplotlib "tutorial" you should find quite a few resources to get you started.

Since you say you're having trouble installing them, I suppose you're on windows (frown). In that case, get the Enthought python distribution and forget installing anything yourself: http://www.enthought.com/products/getepd.php

It's free for academics, and comes with every single productivity-related python module you could possibly imagine, including numpy/scipy/matplotlib/etc
"Jinro soo manly wearing only a T-Shirt while the Koreans freeze in their jackets" -- Double_O
"He's from Sweden, man. We have to fight polar bears on our way to school." -- Yusername
Dknight
Profile Blog Joined April 2005
United States5223 Posts
February 19 2009 14:39 GMT
#16
omfg hi keith!!!!!!
WGT<3. Former CL/NW head admin.
rredtooth
Profile Blog Joined December 2008
5461 Posts
February 19 2009 15:15 GMT
#17
different from pythong progaming...
[formerly sponsored by the artist formerly known as Gene]
[r]h_probe
Profile Blog Joined October 2002
United States188 Posts
February 19 2009 22:24 GMT
#18
Thanks for all the comments guys, especially miseiler. A followup question: are any good python specific forums? I will definitely shout out a question or two if needed miseiler.

Dknight.... I can't believe you remembered my name after such a long time. Want to play a game of bw to catch up sometime? Whats the state of the [cf] crew?
enthusiast
Profile Joined May 2008
United States90 Posts
Last Edited: 2009-02-20 04:04:10
February 20 2009 04:03 GMT
#19
I learned a little Python over winter break. I don't really like it. Meh. But since no one's mentioned it:pythonchallenge.com

I think you can probably start on that without any programming experience, to be honest. It's mostly just knowing the right module to use and then the most complicated programming you have to do is nested for loops.

If you try it out, I would advise you to find out which module to use immediately either by understanding the hints or looking it up the forum. Also, on challenges where you have to do text parsing, don't do it the ugly way. And once you beat a level, I bet looking at a bunch of different solutions on the wiki would be very helpful for your programming skills.

Some of the challenges are pretty cool. The coolest one I remember was where you had to take a 1x10000 image and turn it into a 100x100 image by arranges the pixels in a special way.

I don't recall any problem that's very interesting mathematically, so I don't know if it will interest you. But if it does, feel free to PM if you get stuck on any of em up to 20-something (I GOT BORED I DIDN'T GIVE UP K?).

I managed to install a few libraries (you need PIL for python challenge), but I believe how to do it depends what you're running, and even then there are different options. I just found instructions by googling.
overpool
Profile Joined April 2008
United States191 Posts
February 20 2009 08:02 GMT
#20
You should definitely look into SAGE, the open-source clone of Mathematica. It's made for symbolic computation and can certainly do graphs, etc, and you program in Python.
yay i love tl events
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Monday Night Weeklies
17:00
#33
MaxPax vs ClemLIVE!
SteadfastSC629
TKL 576
IndyStarCraft 276
BRAT_OK 134
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Clem_sc2 1036
SteadfastSC 629
TKL 576
IndyStarCraft 276
BRAT_OK 134
ProTech124
JuggernautJason61
Liquid`TLO 37
StarCraft: Brood War
Calm 1754
Shuttle 588
Dota 2
syndereN338
Counter-Strike
allub200
Heroes of the Storm
Grubby4771
Liquid`Hasu599
Other Games
Beastyqt825
B2W.Neo518
ArmadaUGS209
KnowMe152
XaKoH 107
QueenE100
Trikslyr64
ZombieGrub52
Livibee41
NarutO 34
Chillindude7
Organizations
Other Games
BasetradeTV163
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• kabyraGe 173
• Hupsaiya 6
• Kozan
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• Azhi_Dahaki45
• Eskiya23 26
• FirePhoenix18
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler84
League of Legends
• TFBlade1410
Other Games
• imaqtpie2060
• Shiphtur178
Upcoming Events
WardiTV 2025
14h 30m
StarCraft2.fi
18h 30m
PiGosaur Monday
1d 3h
StarCraft2.fi
1d 19h
Tenacious Turtle Tussle
2 days
The PondCast
2 days
WardiTV 2025
2 days
StarCraft2.fi
2 days
WardiTV 2025
3 days
StarCraft2.fi
4 days
[ Show More ]
RSL Revival
4 days
IPSL
4 days
Sziky vs JDConan
RSL Revival
5 days
Classic vs TBD
herO vs Zoun
WardiTV 2025
5 days
IPSL
5 days
Tarson vs DragOn
Wardi Open
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Revival: Season 3
Kuram Kup

Ongoing

IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
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

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
RSL Offline Finals
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.