• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:54
CET 14:54
KST 22:54
  • 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 - 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[ASL20] Finals Preview: Arrival13
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation13Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
Zerg is losing its identity in StarCraft 2 [TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t RotterdaM "Serral is the GOAT, and it's not close" RSL Season 3 - RO16 Groups C & D Preview
Tourneys
RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BGH Auto Balance -> http://bghmmr.eu/ What happened to TvZ on Retro? SnOw's ASL S20 Finals Review BW General Discussion
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
PvZ map balance Current Meta Simple Questions, Simple Answers How to stay on top of macro?
Other Games
General Games
Clair Obscur - Expedition 33 Should offensive tower rushing be viable in RTS games? Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2241 users

Python Programming

Blogs > [r]h_probe
Post a Reply
Normal
[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
Canada3337 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
Braavos36379 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
Zurich15355 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
fight_or_flight
Profile Blog Joined June 2007
United States3988 Posts
February 20 2009 08:09 GMT
#21
I've never used python, in fact its something I want to learn, but what I would suggest to you is learn matlab. Matlab is heavily used for technical computing. It is a powerful programming language developed specifically for doing math and data analysis. Its pretty much the standard. Of course its proprietary, so you may want to start out with the opensource clone, scilab.
Do you really want chat rooms?
Normal
Please log in or register to reply.
Live Events Refresh
WardiTV Korean Royale
12:00
Group Stage 1 - Group A
WardiTV559
LiquipediaDiscussion
Kung Fu Cup
12:00
2025 Monthly #3: Day 5
Cure vs herOLIVE!
Reynor vs TBD
RotterdaM693
TKL 366
IndyStarCraft 269
SteadfastSC122
IntoTheiNu 43
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 617
TKL 352
Tasteless 324
Reynor 276
IndyStarCraft 269
Rex 147
SteadfastSC 113
Railgan 25
MindelVK 21
StarCraft: Brood War
Britney 36790
Rain 8932
Sea 4139
firebathero 4096
BeSt 1748
Horang2 1687
GuemChi 939
Soma 605
EffOrt 552
Stork 500
[ Show more ]
Mini 456
actioN 283
Rush 225
Killer 174
Last 146
Hyun 144
scan(afreeca) 136
hero 133
Bonyth 99
Mind 90
Barracks 61
Sharp 51
zelot 50
yabsab 49
Sea.KH 45
sorry 42
Snow 39
sas.Sziky 24
Shinee 18
Hm[arnc] 15
NaDa 8
Bale 6
Dota 2
singsing3070
qojqva1678
Dendi1083
Gorgc737
XcaliburYe301
Counter-Strike
byalli539
x6flipin531
Heroes of the Storm
Khaldor238
Liquid`Hasu193
Other Games
FrodaN4939
B2W.Neo1844
Pyrionflax359
Fuzer 256
KnowMe216
DeMusliM40
Organizations
Dota 2
PGL Dota 2 - Main Stream14873
PGL Dota 2 - Secondary Stream1808
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Adnapsc2 8
• Dystopia_ 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV606
• Ler66
Upcoming Events
BSL 21
6h 6m
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
6h 6m
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
9h 6m
Wardi Open
22h 6m
Monday Night Weeklies
1d 3h
Replay Cast
1d 9h
WardiTV Korean Royale
1d 22h
BSL: GosuLeague
2 days
The PondCast
2 days
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
BSL: GosuLeague
4 days
RSL Revival
4 days
WardiTV Korean Royale
4 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
IPSL
6 days
Julia vs Artosis
JDConan vs DragOn
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-11-14
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
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
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.