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== | ||
* | * jupyter notebook | ||
==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://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 | ||
==Python GUI Options== | ==Python GUI Options== | ||
I need to write some programs that use GUI. | 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. | ||
===Printed Materials=== | ===Printed Materials=== |
Revision as of 07: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
- matplotlib - a handy system for plotting in python.
- geopy - geocoding
- dateutil
- PyX - A Python PS and PDF graphing package
- pygame - a Python game development system
- iCalendar package for Python
- PEAK Easy Install
Games
- Crystal Space 3D
- VPython - 3D Programming in Python
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:
- Chapter 18 of Core Python Programming discusses GUI Programming with Tkinter
- Programming Python, 2nd Edition, Chapter 7 and 8
- reddit has a page on Python 3.x books for Tkinter
- Introduction to Tkinter on effbot.org
- Python 3.2 tkinter doc
- Thinking in Tkinter
- Python wiki 'GUI Programming in Python'
- Python 2.7 Tkinter Doc
- Original 'An introduced to Tkinter' by Fredrik Lundh
Other options:
- Uses FLTK, the Fast Light Toolkit
Python Training
I've seen these and highly recommend them:
- Advanced Python or Understanding Python, Thomas Wouters, Google Tech Talks, February 21, 2007.
Printed Materials
- Dive Into Python 3 (book)
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:
- http://jeremykun.com/2012/01/01/random-psychedelic-art/
- http://pythonvision.org/basic-tutorial
- http://stackoverflow.com/questions/138250/read-the-rgb-value-of-a-given-pixel-in-python-programatically
Python Graphics (mostly with graphics.py)
- http://mcsp.wartburg.edu/zelle/python/graphics.py
- http://mcsp.wartburg.edu/zelle/python/
- http://mcsp.wartburg.edu/zelle/python/graphics/graphics.pdf
- http://cpsc110.umwblogs.org/installing-python-graphics-library/
- http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/graphics.html#
Alternative: