Offer HN: I'll help you learn Python
Some pre-reading would be most effective so you'll have specific questions. If you already know how to code and are picking up Python, I recommend http://diveintopython.org/ . If you are new to programming, I recommend http://learnpythonthehardway.org/index
Email me to agree on a schedule; I'd prefer Freenode IRC if you want to chat.
[+] [-] anthonyb|15 years ago|reply
Think of it as Land of Lisp, but in Python rather than CL.
[+] [-] inovica|15 years ago|reply
[+] [-] edanm|15 years ago|reply
Do you think there is any interest in such an ebook?
[+] [-] mkramlich|15 years ago|reply
Hi Anthony, awesome to see it coming out! Great job! I'll check it out.
[+] [-] jdunck|15 years ago|reply
[+] [-] jdunck|15 years ago|reply
[+] [-] auston|15 years ago|reply
[+] [-] jdunck|15 years ago|reply
And in particular: http://wiki.python.org/moin/BeginnersGuide/Help
[+] [-] joag|15 years ago|reply
I was able to follow the book very well until I got into chapter 23 "Read Some Code", I thought it was a good idea to learn the lansom code as he created it but as I'm learning python and at the same time learning to program the concepts of packages and API's all combined together just didn't help me, so I started reading code from http://inventwithpython.com/, chapter 9 specifically where the real code start to show up; the code in the book is just one file so you can leave packages and API's until you get more background.
I providing my personal experience because I'm sure that even HN is a site for programmers there is a fair amount of guys here like me just starting in the world of programming and this can help them a bit.
BTW, if some one drops the offer I'll willing to take his place because I really want to learn python + django.
[+] [-] pavel_lishin|15 years ago|reply
So yeah. My experience says, stay away from lamson as a learning tool.
[+] [-] rguzman|15 years ago|reply
If you are interested in learning python+django intensively for a week with a few people, I'm co-teaching a class with Dave Beazley in Chicago next month. There is still a few seats left. http://www.dabeaz.com/chicago/index.html
[+] [-] jdunck|15 years ago|reply
@rguzman - do you know who runs hnofficehours.com? I found some bugs. :-/
[+] [-] joag|15 years ago|reply
[+] [-] Jun8|15 years ago|reply
[+] [-] andymorris|15 years ago|reply
Anyway, there isn't a whole lot of difference between python 2 and 3, really. The "proper" way of coding in python2 is very similar to python3.
[+] [-] fraserharris|15 years ago|reply
[+] [-] f1gm3nt|15 years ago|reply
So what type of application would you recommend python for? What do you normally use python for?
[+] [-] anthonyb|15 years ago|reply
Some of your workflow or setup might be a little different, eg. Django vs. PHP, but not so much that you'll be completely lost.
[+] [-] makeramen|15 years ago|reply
i made my first python/appengine app over the past couple of days:
http://www.iwrotethisforyou.me/ the blog isn't mine, but see that "Random Post" button on the right? that goes to my app :D
I showed it to the author via twitter and he loved it so he linked to it.
source here: http://bitbucket.org/makeramen/irandomlywrotethisforyou
moral of the story? find random stuff to do and just dick around.
[+] [-] awakeasleep|15 years ago|reply
I have some resources that I could re-read to learn more, and I could do experiments myself, but as a sysadmin python user, I'd like to know how you picked it up, for perspective's sake.
Thanks for the offer!
[+] [-] jdunck|15 years ago|reply
So, learning Python was sort of just picking from the menu; DiP was perfect in this regard, as it related python's features to other langs you might know.
Given your different context, I think it might be helpful to just see some examples and play in the shell, though.
[+] [-] Luyt|15 years ago|reply
Basically he says the book is outdated and not maintained, and has bad examples.
[+] [-] dkokelley|15 years ago|reply
[+] [-] Ixiaus|15 years ago|reply
I recommend a web application project because it forces you to learn a lot of different moving parts - pick a framework and study their code. Try to build your own basic wsgi framework.
Just to show and tell so you know I'm not coming from a Mr. Superior stance: http://bitbucket.org/ixmatus/rubedo/src/tip/rubedo/
Use it if you want - it was my attempt at building a (somewhat) Py3k compatible wsgi framework. MVC with really minimal routing and super simple configs. The request class I spent a lot of time on and had been studying the WebOB sources a lot (hence the resemblance). Doing that actually made wsgi apps and the "pythonic" way of building web applications click for me (coming from a PHP background).
[+] [-] FrancescoRizzi|15 years ago|reply
[+] [-] shimon|15 years ago|reply
But even if that version were a little old, it's probably more important to get up and running with something rather than spend lots of time tweaking the environment. I'm a linux user, so I haven't tried BitNami, but it seems like a great way to get started on Windows. Using a virtual machine image (BitNami seems to have these also) under the free VMWare player is also a nice approach, but working in your main windows installation might be a more familiar place to work.
[+] [-] whackedspinach|15 years ago|reply
[+] [-] colbyolson|15 years ago|reply
[+] [-] bobds|15 years ago|reply
Link: irc://irc.freenode.net:6667/HNpython
[+] [-] cheesey|15 years ago|reply
[+] [-] zeynel1|15 years ago|reply
Maybe you can take a look at that?
[+] [-] anthonyb|15 years ago|reply
Rather than do that, I'd use a dictionary keyed off either an id or the original text, store the user input as a list after that, then sort out how to display this in the display part of your code. Something like:
Bear in mind that dictionaries are unordered though, so you might need to either use a list to order them, or use sorteddict from the collections library.