Python learning resources

From Wikiversity
Jump to: navigation, search
Crystal Clear Sharemanager.png Resource type: this resource is a collection of other resources.

Contents

Beginning programming[edit]

Python for experienced coders[edit]

Advanced Python[edit]

Other tutorial collections[edit]

Other handy resources[edit]

Finding python modules[edit]

Google - If you google 'python STRING' where STRING is what you're looking to do, such as 'python serial port' or 'python gui', things will inevitably pop up.

Graphics and GUIs - 2D[edit]

  • http://www.metaslash.com/python10/ - presents a number of options with examples and documentation. Good starting point.
  • wiki.python.org/moin/TkInter - Tkinter is the standard Python gui.
  • http://www.pygame.org - PyGame is a library developed for creating video games in Python, but it's evolved past that and is now an excellent way to interface graphics with mouse and keyboard input. If all you need is a couple keypresses, or want to make anything vaguely game-like (moving graphics), this is for you. Excellent tutorials.
  • www.wxpython.org - wxPython is a cross-platform Python gui for Windows and Unix. Powerful, can open Windows dialogs easily. Basically, a replacement for MFC. The downside is that it is hard to learn because it has many, many commands.
  • http://pythoncard.sourceforge.net - PythonCard is a gui editor for creating wxPython guis. Think of it as the Resource Editor in Visual C++ when you are making an MFC gui. Relatively young, not very well documented, but very easy to use with lots of sample code that you can figure most things out from. Recommended for making Windows applications, but runs on OSX and Linux too.
  • http://www.pygtk.org/ - a wrapper for the GTK library in Python. Recommended for making Linux applications, but runs on OSX and Windows too.

Graphics - 3D[edit]

  • vpython.org - VPython makes real-time 3D scenes in Python. Unbelievably easy to use; it took me all of 5 minutes to go from installation to having various 3-d shapes bounding around on my screen.
  • www.blender.org - 3D modeling, animation, rending, post-production, interactive creation (read: games, or virtual 3d interfaces), and playback. Incredibly powerful (full-length professional-quality movies have been made in it). All python - you can write your own scripts in it. Totally free.
  • pyode.sourceforge.net - Python bindings for the Open Dynamics Engine, a decent-quality physics simulation engine. Works well when coupled with vpython.

Content Management[edit]

Hardware interface[edit]

Making executables[edit]

  • http://www.py2exe.org - make your python program into a windows executable that can be run on any windows machine

Windows programming[edit]

Testing[edit]

Implementations[edit]

  • www.jython.org - Jython is a Python implementation in Java. You can use Java libraries, embed Python in Java code...