SitePoint Sponsor

User Tag List

Results 1 to 15 of 15
  1. #1
    SitePoint Addict SRTech's Avatar
    Join Date
    Mar 2005
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Python Resources

    I thought I would start a Python Resources thread for those of us trying to learn the language. Here are some resources I have found so far:

    http://www.python.org
    http://www.diveintopython.net/
    http://www.byteofpython.info
    http://www.hetland.org/python/instant-hacking.php

    If you know of other helpful sites, please post them.

    EDIT: added Dec 25, 2010

    the Python docs: http://docs.python.org/
    PyGTK: http://www.pygtk.org/
    List of Python web frameworks from python.org: http://wiki.python.org/moin/WebFrameworks
    WSGI: http://www.wsgi.org/wsgi/ (instead of CGI)

    beginners python tut (recommended in the orca mailing list): http://sthurlow.com/python/

    help at pythonforum: http://python-forum.org/pythonforum/index.php mentioned by 7stud
    routes url mapping for pylons and cherrypy (supposedly also other frameworks too) http://routes.groovie.org/manual.html

    Zed Shaw's written a book... about learning programming, but using Python specifically. http://learnpythonthehardway.org/index
    Book is for sale but also available FREE online either way.
    Last edited by Mittineague; Dec 29, 2011 at 09:00. Reason: link replacement

  2. #2
    SitePoint Addict
    Join Date
    Jan 2005
    Location
    Ireland
    Posts
    349
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thinking in Python, Bruce Eckel is often considered a good book, and it is a free download. http://www.mindview.net/Books/TIPython. It isn't a begginers book though, but after reading some of the pre-mentioned resources above, this may be a good book to tackle.

    I don't have to much experience with Python, but it is looking more attractive day-by-day. One thing though I don't like about it is it's documentation: but I have been spoilt by the PHP manual in the past.

  3. #3
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Great resources!

    I'll add a few more:
    http://www.wxpython.org/
    <snip/>
    http://pythoncard.sourceforge.net/ (Python 2)
    <snip/>
    Last edited by Mittineague; Dec 25, 2010 at 18:53. Reason: pre-new-sticky cleanup

  4. #4
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    More -

    Libraries (third party)
    RDFLib
    Boost.Python (framework to interface Python and C++)


    Tutorials
    Using the time module from The Standard Python Library (Python 2)
    Python Style Guide
    <snip/>
    Last edited by Mittineague; Dec 25, 2010 at 18:59. Reason: pre-new-sticky cleanup

  5. #5
    SitePoint Member
    Join Date
    Dec 2004
    Location
    Oslo, Norway
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    pyqt

    I noticed someone mentioned wxPython further up in this thread, as far as GUI programming goes I would suggest using PyQt, which is the Qt widget library made by Trolltech wrapped to Python.

    PyQt is identical to Qt, which means you can read the documentation supplied by trolltech in order to solve your problems. It also enables you to use such tools as Designer for laying out your GUI.

    Link:
    http://www.riverbankcomputing.co.uk/news
    Last edited by Mittineague; Dec 25, 2010 at 19:02. Reason: pre-new-sticky cleanup

  6. #6
    SitePoint Member
    Join Date
    Jun 2005
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <snip/>
    http://gnosis.cx/TPiP/

    An for those who are wondering why to program in python, here is Eric Raymond's article: http://www.linuxjournal.com/article/3882
    Last edited by Mittineague; Dec 25, 2010 at 19:07. Reason: pre-new-sticky cleanup

  7. #7
    SitePoint Evangelist
    Join Date
    Aug 2005
    Posts
    512
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lots of code.
    http://aspn.activestate.com/ASPN/Cookbook/Python

    Many FAQ items.
    <snip/>

    For someone coming from other languages.
    http://pleac.sourceforge.net/pleac_python/
    Last edited by Mittineague; Dec 25, 2010 at 19:08. Reason: pre-new-sticky cleanup
    Freebie/DonationWare: check-these.info
    Custom solutions: Hostwick.com

  8. #8
    throw me a bone ... now bonefry's Avatar
    Join Date
    Nov 2004
    Location
    Romania
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been playing with the Django framework for a couple of days and it looks good, although it contains some bugs and currently the ORM only supports postgreesql, mysql and sqlite. But support is on it's way for other databases (they currently work on Oracle support).

    Though it cannot be used for production yet (it's been in production for 2 years but it's been released as open source in July, so it can be considered as new), it looks very good and if you are open-source fans maybe you can give them a hand and test it:

    http://www.djangoproject.com/

  9. #9
    SitePoint Zealot
    Join Date
    Mar 2008
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would add this for numeric computations:
    http://numpy.scipy.org/
    and if you need more:
    http://www.scipy.org/

    Of course running python and entering e.g. "dir(str)" or "help(str)" or more specific "help(str.title)" is very useful for all libraries.

  10. #10
    SitePoint Enthusiast
    Join Date
    Aug 2004
    Location
    San Francisco
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The Google Python Coding Standards Doc is great:
    http://code.google.com/p/soc/wiki/PythonStyleGuide (specific to the Google and the Melange Project)

    Other super-useful libraries:
    pytz (python timezone management) - just one of many packages
    boto (amazon web service apis)
    cjson (fastest json library that we've tested)

    I also use this a bunch for regex testing:
    http://www.pythonregex.com
    Last edited by Mittineague; Dec 25, 2010 at 19:14. Reason: pre-new-sticky cleanup

  11. #11
    SitePoint Zealot
    Join Date
    Jan 2006
    Location
    Gold Coast, Australia
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How to think like a computer scientist - A great introduction into Python. Not a 'tutorial' oriented approach, but a more problem solving approach, which is fantastic.

    Off Topic:

    Project Euler - Although not Python specific, it has helped me learn a lot about the language. Its also fun to solve =)
    Last edited by Mittineague; Dec 25, 2010 at 19:22. Reason: pre-new-sticky cleanup

  12. #12
    SitePoint Enthusiast invalidsyntax's Avatar
    Join Date
    Feb 2008
    Location
    CALI
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Learn Python at MIT online (free)

    hey python peeps MIT Switched to Python for computer science and now have open courseware you can watch lectures from MIT for free and learn Computer science programing etc.. Visit mit site http://ocw.mit.edu/courses/electrica...ing-fall-2008/


    enjoy
    Python Noob

  13. #13
    SitePoint Wizard
    Join Date
    Jul 2004
    Location
    Minneapolis, MN
    Posts
    1,924
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here are some additional Python and Python-related resources for anyone learning Python.

    PEP-8: Style Guide for Python Code
    The Django Book: Book about developing using the Django framework
    Django Snippets: Helpful bits of Django code
    Pylons: Another popular web-development framework

    You should also check out virtualenv, a Python library that allows you to create isolated Python environments. This library helps to avoid messy site-packages directories and managing package dependencies.

    Furthermore, if you are using Django, this blog post Basic Django deployment with virtualenv, fabric, pip and rsync is a good place to start learning about the best deployment strategies.

  14. #14
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,278
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    General stuff that maybe should be at the top (esp for those new to Python):

    Python is written in C, and is known as "CPython" when talking of other implementations to avoid confusion.

    A fork of CPython with (micro)threading, task scheduling, and infinite recursion (yikes!) is Stackless Python.

    PyPy is Python written in Python. It's available in different versions/modules:
    • without Just-In-Time compiler
    • stackless (like Stackless Python)
    • sandboxing version


    Jython: Python in Java bytecode (not to be comfused with JPython... Jython replaces this).

    IronPython: Python for .NET and Mono, written in C#. *news: Microsoft as brought out a Beta version of Python tools for Visua Studio

    PyJamas: A development platform/framework with a Python->Javascript compiler, so you can write client-based applications in Python instead of Javascript; desktop apps as well.

  15. #15
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Some useful link:
    Editor for python(free)
    Windows
    Pyscripter(easy,light,i think the best for beginners)
    http://wiki.python.org/moin/PyScripter
    Notepad++
    http://notepad-plus.sourceforge.net
    KomodoEdit(the free version of Komodo Ide)
    http://www.activestate.com/komodo-edit
    Linux:
    Eclipse(very good,but for someone is not so light)
    http://www.eclipse.org/
    Geany(similar at notepad++...but for linux...and now for windows too)
    http://www.geany.org/
    Bluefish
    http://bluefish.openoffice.nl/features.html


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •