Difference between revisions of "Python Resources"

From Simson Garfinkel
Jump to navigationJump to search
m
Line 1: Line 1:
==Python Source Code and Modules==
==Python Source Code and Modules==
* ipython - a friendly interactive shell for python. [http://ipython.scipy.org/moin/ Info] [http://www.onlamp.com/pub/a/python/2005/01/27/ipython.html ONLamp Article]
* jupyter notebook
* [http://matplotlib.sourceforge.net/ matplotlib] - a handy system for plotting in python.
 
==Numerical Analysis==
* numpy - numeric analysis in python (needed for matplotlib)
* numpy - numeric analysis in python (needed for matplotlib)
* tabulate - create tables easily
==Graphing==
* [http://matplotlib.org/ matplotlib] - a handy system for plotting in python.
* geopy - geocoding
* [http://labix.org/python-dateutil dateutil]  
* [http://labix.org/python-dateutil dateutil]  
* [http://www.crystalspace3d.org/ Crystal Space 3D]
* [http://pyx.sourceforge.net/ PyX] - A Python PS and PDF graphing package
* [http://pyx.sourceforge.net/ PyX] - A Python PS and PDF graphing package
* [http://www.pygame.org/ pygame] - a Python game development system
* [http://www.pygame.org/ pygame] - a Python game development system
* [http://codespeak.net/icalendar/ iCalendar] package for Python
* [http://codespeak.net/icalendar/ iCalendar] package for Python
* [http://peak.telecommunity.com/DevCenter/EasyInstall PEAK Easy Install]
==Games==
* [http://www.crystalspace3d.org/ Crystal Space 3D]
* [http://www.vpython.org/ VPython] - 3D Programming in Python
* [http://www.vpython.org/ VPython] - 3D Programming in Python
* [http://peak.telecommunity.com/DevCenter/EasyInstall PEAK Easy Install]


==Python GUI Options==
==Python GUI Options==
I need to write some programs that use GUI. Python TKinter is available on all versions of Python, but on the Mac it is slow to start and uses XWindows. Here are some options I'm thinking of:
I need to write some programs that use GUI.  
 
* tkinter - built in


* [http://en.wikibooks.org/wiki/Python_Programming/GUI_Programming wikibooks] has a page on Python Program/GUI Programming options
* [http://en.wikibooks.org/wiki/Python_Programming/GUI_Programming wikibooks] has a page on Python Program/GUI Programming options
Line 33: Line 43:
I've seen these and highly recommend them:
I've seen these and highly recommend them:
* [http://video.google.com/videoplay?docid=7760178035196894549 Advanced Python or Understanding Python], Thomas Wouters, Google Tech Talks, February 21, 2007.  
* [http://video.google.com/videoplay?docid=7760178035196894549 Advanced Python or Understanding Python], Thomas Wouters, Google Tech Talks, February 21, 2007.  
===To Watch===
I haven't seen these yet:
* [http://pycon.blip.tv/#2032214 PyCon 2009 Videos]
* [http://video.google.com/videoplay?docid=7760178035196894549#docid=-8437473245141752362 Python 101], PyCon 2011
* [http://video.google.com/videoplay?docid=7760178035196894549#docid=9023849479319414382 Introducing Python], 24 minutes of interviews.
; Python 3.0 training:
* [http://www.youtube.com/watch?v=Qi13Hot6IQw Python 3 tutorial - String formatting and conditions]
* [http://www.youtube.com/watch?v=2uO-sJKCNDo Python 3 Tutorial: Variables and Strings]
* [http://www.youtube.com/watch?v=jECazLigEH8 Python 3 Tutorial: 3 - Strings]
* [http:/www.youtube.com/watch?v=v6nD8f-J_XU Python 3 Tutorial: 17 - String Methods]
* [http://www.youtube.com/watch?v=geoly0UNCvA Ira Krakow's Python 3 Tutorial Part 2 (Strings)‏]
* [http://www.youtube.com/watch?v= fc9buLUiqLE Ira Krakow's Python 3 Essential Training --- Splitting and...‏]


===Printed Materials===
===Printed Materials===

Revision as of 08:07, 15 June 2016

Python Source Code and Modules

  • jupyter notebook

Numerical Analysis

  • numpy - numeric analysis in python (needed for matplotlib)
  • tabulate - create tables easily

Graphing

Games

Python GUI Options

I need to write some programs that use GUI.

  • tkinter - built in
  • wikibooks has a page on Python Program/GUI Programming options

Books on Tkinter:

Other options:

  • Uses FLTK, the Fast Light Toolkit

Python Training

I've seen these and highly recommend them:

Printed Materials

Python Installation

If you are using a Mac, you almost certainly want to ditch Apple's python implementation and instead install your own from:

If you want everybody to be able to use your GUI, you probably want to write it in Tkinter (Python's Tcl/Tk bindings). If you want to actually enjoy what you are writing, you want to use wxpython.

On the Mac, you can install matplotlib with this command using MacPorts::

 % sudo port install py-matplotlib py-ipython

Image Manipulation

Use Pillow, the Python2/3 fork of Python Image Library (PIL)

On Mac, install with:

   % sudo port install py27-Pillow py33-Pillow

Links:

Python Graphics (mostly with graphics.py)

Alternative: