Sponsored by HowLifeWorks
How Private Online Shopping Clubs Work view!
howlifeworks.com - How to become a member and get discounts of up to 80% on must-have luxury goods
25 Comments
- faulkner, on 10/12/2007, -4/+9there is no one true ide. eclipse+pydev, dr. python, idle, spe, notepad++, gobby, komodo, wing, eric3 -- you just have to try them until you find one that fits you individually.
or give up and write your own. http://fauxlkner.sf.net - goblindegook, on 10/12/2007, -2/+7I love Python, but how many times does this need to be on the front page within the same week? Didn't the warning and the number of diggs for the first article give you a clue?
- 3monkeys, on 10/12/2007, -1/+5My bad, I don't know why I didn't see the other article. Sorry for the dupe for those reading a second time.
@deim0s "*digg* even had to add a "2" to the end of his title so it would let him submit it."
I don't assign the links, digg does. - deim0s, on 10/12/2007, -5/+9Exact duplicate of this one that was on the front page all of... 2 days ago or so.
http://www.digg.com/programming/Python_Programming_for_Beginners
3monkeys even had to add a "2" to the end of his title so it would let him submit it. - elebrio, on 10/12/2007, -0/+2it looks like plenty of people found it helpful anyway
- Smily, on 10/12/2007, -1/+3Digg's naming system does that automagically to avoid link collisions.
(you can't have two links with the same name for obvious reasons) - GoodBrain, on 10/12/2007, -2/+4Python, because it starts with "P" too.
- diecastbeatdown, on 10/12/2007, -2/+4desktops, webapps, games, commandline scripts/programs, you name it.
- NapoleonGold, on 10/12/2007, -2/+3nice I just downloaded python 2.5 yesterday nice timing
- billyfoxtrot, on 10/12/2007, -0/+1"btw, thank you venkatbabu01 for the link to FreeComputerBooks. I am hopeful it will provide better instruction. It can't be worse..."
Please don't encourage him. He posts the link to FreeComputerBooks on practically every digg programming article. - MoneyShot, on 10/12/2007, -2/+3I'm an old hack at PHP and cut my teeth on Perl over a decade ago. However, I'm getting the urge to try something new. To anyone that has an informed opinion: Which should I learn: Python or Ruby, and why?
- diecastbeatdown, on 10/12/2007, -2/+3like many of these 'beginner guides' found on the front page it is lacking quite a bit. don't expect to get your head wrapped around python using this guide.
if you just want a quick look at some small examples without much explanation, then check this out. - yahoofrom, on 10/12/2007, -0/+1But can i also learn how to swallow a deer?
- fernly, on 10/12/2007, -2/+3Did anybody actually *try* this tutorial? As directed I copied and pasted listing one and it has at least two syntax errors plus a bug! Perhaps you are expected to know python well enough to spot the bad line-breaks and faulty indentation (I do) but the genuine beginner does not expect lesson 1 to produce "Syntax error" and a caret pointing into the middle of a four-line if statement.
The bug (which should have been blatantly obvious to anyone who actually unit-tested their code) is in "if --help in sys.argv or --help in sys.argv" -- testing for the same option twice instead of "-help" and "--help" which it claims to support.
Based on going this far in this tutorial, I would say it is not to be recommended to anybody, let alone being dugg twice! - captainh, on 10/12/2007, -0/+1For anyone that already has some experience programming I would definitely recommend "Python Essential Reference" by David Beazley. Tells you exactly what Python can do and doesn't go through "how to program" tutorials like most books do.
Another good tutorial for experienced programmers looking to learn Python is this: http://www.poromenos.org/tutorials/python Goes through all the basic stuff. - estacado, on 10/12/2007, -2/+2What is Python mainly used for, desktop apps or web apps?
- j3one, on 10/12/2007, -2/+2The advertising is atrocious. Its probably also the reason for the repeated post.
- sembetu, on 10/12/2007, -2/+2When I am hacking python, I just do everything in the terminal. Once you get past the initial learning curve, it is actually pretty easy. I just cd to the directory I need to work in (or mkdir if it isn't there), then I use Pico as my editor, save, ^D to get out, and then test from the command line with the interactive interpreter. That's just my working process, but hey, I'm a noob.
- pixelbeat_, on 10/12/2007, -2/+2Second time today www.unix-tutorials.com has been on the front page?
And this one is just snarfing the content from linux journal.
And to add insult to injury the linux journal story itself was just on the front page:
http://www.digg.com/programming/Python_Programming_for_Beginners
Anyway, here are my python example programs:
http://www.pixelbeat.org/talks/python/ - zorvi4, on 10/12/2007, -2/+2It is kind of strange. Just yesterday I was working with a program on my palm called Plucker and it directed me to download this program. I have no experience with programming languages but I think I will sit down and actually learn this one.
- deanbag, on 10/12/2007, -1/+1I agree with the others trying to use this tutorial - I'm a former C/C++ programmer learning Python at the moment, and this guide is woefully vague. I appreciate the idea of going beyond "hello world" in a tutorial, but it still has to explain what the heck is going on!! Two thumbs down.
btw, thank you venkatbabu01 for the link to FreeComputerBooks. I am hopeful it will provide better instruction. It can't be worse... - yahoofrom, on 10/12/2007, -1/+13monkey want to get diggs.
- jma06, on 10/12/2007, -2/+1> When I am hacking python
No. You are only learning Python. Hacking means you are using it in ways the creators of the language could not have imagined. First, the press confuses the term hacking with cracking. Then every noob confuses it with just about any usage of anything.
> I just do everything in the terminal. Once you get past the initial learning curve, it is actually pretty easy. I just cd to the directory I need to work in (or mkdir if it isn't there), then I use Pico as my editor, save, ^D to get out, and then test from the command line with the interactive interpreter. That's just my working process, but hey, I'm a noob.
As a 6yr user of Python, that's probably the most masochistic way to use Python. At the very least, use an editor that does syntax highlighting and auto-indentation. IPython is usually better than the standard Python interpreter from the terminal. There are better interactive interpreter interfaces if you use a GUI. - inactive, on 10/12/2007, -6/+2Are we at GoogleUniversity now?
- nickdot, on 10/12/2007, -10/+5If you are looking for a free, cross-platform IDE (win, linux, mac), use SPE. It is licensed under the GPL. It has a lot features: such as auto-completion, call tips, built-in UML diagrams (exportable as pdf), ... and a lot more.
For example if you type "os.path.", you'll get automagically a list of all possible functions defined in os.path. When I started to learn Python, this speeded up my learning process a lot.


What is Digg?