• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 17:28
CET 23:28
KST 07:28
  • 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 Rotation12Weekly 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
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 [TLMC] Fall/Winter 2025 Ladder Map Rotation TL.net Map Contest #21: Winners
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 What happened to TvZ on Retro? SnOw's ASL S20 Finals Review BW General Discussion Brood War web app to calculate unit interactions
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
Should offensive tower rushing be viable in RTS games? Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Clair Obscur - Expedition 33
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 Russo-Ukrainian War Thread US Politics Mega-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: 2120 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
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
1 2 Next All
Please log in or register to reply.
Live Events Refresh
The PiG Daily
20:30
Best Games of SC
Serral vs Clem
Solar vs Cure
Serral vs Clem
Reynor vs GuMiho
herO vs Cure
PiGStarcraft322
LiquipediaDiscussion
BSL 21
20:00
ProLeague - RO32 Group C
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
ZZZero.O323
LiquipediaDiscussion
OSC
19:00
Masters Cup #150: Group B
davetesta56
Liquipedia
PSISTORM Gaming Misc
15:55
FSL teamleague CNvsASH, ASHvRR
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft322
Nathanias 119
ProTech70
StarCraft: Brood War
Shuttle 935
ZZZero.O 323
NaDa 58
Dota 2
LuMiX1
Counter-Strike
fl0m1107
Super Smash Bros
AZ_Axe111
Other Games
tarik_tv6434
Grubby5300
summit1g4453
gofns4093
DeMusliM420
Pyrionflax195
Fuzer 191
Dewaltoss14
ViBE11
Organizations
Other Games
EGCTV935
gamesdonequick798
StarCraft 2
angryscii 33
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• StrangeGG 58
• musti20045 19
• Dystopia_ 3
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2715
• Ler80
Other Games
• imaqtpie1667
• WagamamaTV495
• Shiphtur261
• tFFMrPink 13
Upcoming Events
Sparkling Tuna Cup
11h 32m
RSL Revival
11h 32m
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
13h 32m
Cure vs herO
Reynor vs TBD
WardiTV Korean Royale
13h 32m
BSL 21
21h 32m
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
21h 32m
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
1d
Wardi Open
1d 13h
Monday Night Weeklies
1d 18h
WardiTV Korean Royale
2 days
[ Show More ]
BSL: GosuLeague
2 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
BSL: GosuLeague
4 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
WardiTV Korean Royale
6 days
IPSL
6 days
Julia vs Artosis
JDConan vs DragOn
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.