View Full Version : An earnest effort to learn Python
foilman8805
02-27-2012, 11:41 PM
I know a handful of you around here know Python and I'm interested in expanding my knowledge and abilities with this language. I come from a strong MATLAB background, so I'm familiar with basics like functions and loops, but I'm looking for a tool or a website or something similar that will help me learn the intricacies of Python. Any recommendations appreciated. Thanks.
Zageron
02-27-2012, 11:42 PM
Most amazing Python tool on the planet.
http://people.csail.mit.edu/pgbovine/python/tutor.html#mode=edit
foilman8805
02-27-2012, 11:45 PM
Fantastic, thanks so much.
Reincarnate
02-27-2012, 11:46 PM
Project Euler ;P
Some people also like "Learn Python the Hard Way" but I can't speak to it
foilman8805
02-27-2012, 11:50 PM
Haha, you would... but PE is far beyond my abilities with Python at the moment.
Zageron
02-27-2012, 11:51 PM
Haha, you would... but PE is far beyond my abilities with Python at the moment.
Incorrect. You have not tried it.
You will learn Python incredibly fast if you do the first 5 PEs. After you have completed them, try your hand at some web scripting.
Edit: You will find that Python is an incredibly stupid simple language, that can be extraordinarily powerful.
foilman8805
02-27-2012, 11:53 PM
I have, actually. I did about 12 problems with MATLAB and 3 with Python because Python can handle numbers larger than 2^32, unlike MATLAB.
UserNameGoesHere
02-28-2012, 01:45 AM
Two things to note.
Python 2.x and Python 3.x are NOT compatible. What this means is you probably can't slap Python 2.x code into a Python 3.x application or vica-versa. You will also need an interpreter appropriate for the version you use.
Whitespace matters in Python.
vBulletin® v3.8.1, Copyright ©2000-2013, Jelsoft Enterprises Ltd.