• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:39
CEST 19:39
KST 02:39
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris32Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Greatest Players of All Time: 2025 Update #1: Maru - Greatest Players of All Time A Eulogy for the Six Pool Geoff 'iNcontroL' Robinson has passed away #2: Serral - Greatest Players of All Time
Tourneys
$5,100+ SEL Season 2 Championship (SC: Evo) $5,000 WardiTV Summer Championship 2025 Esports World Cup 2025 Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
How do I speak directly to Coinbase?1-(888)-419-97 Recent recommended BW games Post ASL20 Ro24 discussion. No Rain in ASL20? BW General Discussion
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [ASL20] Ro24 Group F [ASL20] Ro24 Group E
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Dawn of War IV Path of Exile
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 year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1213 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
Canada3330 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
Braavos36375 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
Zurich15345 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)17727 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)17727 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
5460 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
Next event in 6h 21m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 248
mouzHeroMarine 162
ProTech97
Codebar 68
BRAT_OK 35
JuggernautJason17
StarCraft: Brood War
Britney 30695
Calm 4735
Horang2 1290
Jaedong 1254
Bisu 1102
Flash 1008
Rain 982
firebathero 491
Mini 362
ggaemo 261
[ Show more ]
Snow 184
Light 176
BeSt 150
hero 132
EffOrt 121
Soulkey 110
JulyZerg 95
NaDa 90
Soma 78
Hyuk 76
Nal_rA 63
Bonyth 62
Mind 48
PianO 44
Rush 42
yabsab 39
Aegong 25
Dewaltoss 20
IntoTheRainbow 12
Sacsri 11
scan(afreeca) 10
Bale 9
HiyA 3
Dota 2
Gorgc6508
qojqva2716
420jenkins442
XcaliburYe185
capcasts42
Counter-Strike
fl0m3322
pashabiceps570
Stewie2K318
Heroes of the Storm
Liquid`Hasu196
Other Games
FrodaN934
Lowko367
KnowMe230
ArmadaUGS131
Fuzer 112
Trikslyr57
C9.Mang038
MindelVK6
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• Reevou 4
• LUISG 3
• OhrlRock 2
• IndyKCrew
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• Kozan
StarCraft: Brood War
• iopq 1
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1414
• WagamamaTV675
League of Legends
• Nemesis5652
• TFBlade788
Counter-Strike
• imaqtpie262
• Shiphtur185
Upcoming Events
Replay Cast
6h 21m
LiuLi Cup
17h 21m
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Cosmonarchy
22h 21m
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
22h 21m
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
1d 1h
Team Hawk vs Team Dewalt
BSL Team Wars
1d 1h
Team Hawk vs Team Bonyth
SC Evo League
1d 18h
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
1d 22h
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
2 days
SC Evo League
2 days
[ Show More ]
Maestros of the Game
2 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
3 days
Team Bonyth vs Team Sziky
BSL Team Wars
3 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
3 days
Replay Cast
4 days
Sparkling Tuna Cup
4 days
Replay Cast
6 days
The PondCast
6 days
RSL Revival
6 days
Maru vs SHIN
MaNa vs MaxPax
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open 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.