• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:48
CEST 18:48
KST 01:48
  • 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
TL.net Map Contest #21: Voting7[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO75.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
Weekly Cups (Oct 6-12): Four star herO Revisiting the game after10 years and wow it's bad Ladder Impersonation (only maybe) 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting
Tourneys
WardiTV Mondays RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia Crank Gathers Season 2: SC II Pro Teams LiuLi Cup - September 2025 Tournaments
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BW General Discussion Question regarding recent ASL Bisu vs Larva game [Interview] Grrrr... 2024 Pros React To: BarrackS + FlaSh Coaching vs SnOw BW caster Sayle
Tourneys
[ASL20] Semifinal B SC4ALL $1,500 Open Bracket LAN [Megathread] Daily Proleagues [ASL20] Semifinal A
Strategy
Current Meta Relatively freeroll strategies BW - ajfirecracker Strategy & Training Siegecraft - a new perspective
Other Games
General Games
Dawn of War IV Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Series you have seen recently... Anime Discussion Thread Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion 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 Recent Gifted Posts
Blogs
Rocket League: Traits, Abili…
TrAiDoS
Inbreeding: Why Do We Do It…
Peanutsc
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1221 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
Canada3335 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
Zurich15353 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
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
1 2 Next All
Please log in or register to reply.
Live Events Refresh
3D!Clan Event
16:00
Kyuub1's CHallenge 2
3DClanTV 32
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 671
JuggernautJason46
MindelVK 27
StarCraft: Brood War
Britney 34050
Bisu 3614
Calm 3434
Rain 2042
Soma 1066
Horang2 963
Light 616
Snow 567
Shuttle 538
Soulkey 280
[ Show more ]
firebathero 239
hero 203
Mini 167
Hyun 158
JYJ120
Aegong 79
Dewaltoss 68
Mong 57
sorry 44
ToSsGirL 36
Killer 32
Free 29
Sharp 24
Terrorterran 19
Dota 2
Gorgc7952
qojqva2654
Other Games
B2W.Neo706
Liquid`VortiX180
Skadoodle161
KnowMe134
Sick106
C9.Mang0106
QueenE57
Trikslyr42
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 43
• Kozan
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Michael_bg 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis3010
• Jankos1608
• TFBlade699
Other Games
• Shiphtur227
Upcoming Events
CranKy Ducklings
17h 12m
Safe House 2
1d
Sparkling Tuna Cup
1d 17h
Safe House 2
2 days
Monday Night Weeklies
2 days
Tenacious Turtle Tussle
5 days
The PondCast
5 days
Online Event
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 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
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.