Differences

This shows you the differences between two versions of the page.

Link to this comparison view

python [2011/10/13 21:55] (current)
Line 1: Line 1:
 +====== Python on grml ======
  
 +"[[http://www.python.org/|Python]] is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel the language encourages the development of higher quality, more maintainable code." -- [[http://www.python.org/|python.org]]
 +
 +===== Software =====
 +
 +The following Debian packages are shipped with grml out-of-the-box:
 +
 +  * ipython: enhanced interactive Python shell
 +  * python-profiler: deterministic profiling of any Python programs
 +  * python-support: automated rebuilding support for python modules
 +  * python-twisted-bin: event-based framework for internet applications
 +  * vim-python: Vi IMproved - enhanced vi editor - with Python support
 +
 +Not shipped with grml but interesting Debian packages/software anyway:
 +
 +  * pylint: python code static checker
 +  * pymacs: interface between Emacs Lisp and Python
 +  * [[http://pycallgraph.slowchop.com/|python-pycallgraph]]: a Python library that creates call graphs for Python programs
 +  * python-scipy: scientific tools for Python
 +  * python-twisted: Event-based framework for internet applications
 +  * [[http://www.edgewall.org/python-sidebar/|Python Sidebar for Mozilla]]
 +  * python-werkzeug: a collection of utilities for WSGI applications
 +
 +===== Programming Python with Vim =====
 +
 +See ':help if_pyth' in vim-python and [[http://wiki.python.de/Python-Programmieren_mit_Vim|Programmieren mit Vim]] (german).
 +
 +===== Using ipython =====
 +
 +[[http://ipython.scipy.org/|ipython]] is an enhanced interactive Python shell. Adjust it according to your needs via ~/.ipython/ipythonrc. What might be interesting for you not being the default:
 +
 +<code>
 +editor 1
 +editor /usr/bin/vim.python
 +logfile '~/.ipython/ipython.log'
 +readline_parse_and_bind "\C-l": clear-screen
 +prompt_in1 '[ip] \C_LightBlue\u@\C_White\h \Y1 \# \C_White% '
 +prompt_in2 '\C_Green|\C_LightGreen\D\C_Green> '
 +prompt_out '<\#> '
 +</code>
 +
 +===== Ressources =====
 +
 +==== english ====
 +
 +  * [[http://python.org/dev/peps/|Index of Python Enhancement Proposals (PEPs)]]
 +  * [[http://www.python.org/dev/peps/pep-0008/|Style Guide for Python Code]]
 +  * [[http://diveintopython.org/|Dive Into Python]]
 +  * [[http://www.amk.ca/python/howto/regex/|Regular Expression HOWTO]]
 +  * [[http://pydoc.gbrandl.de:3000/|Python Documentation]] (pydoc online)
 +  * [[http://rgruet.free.fr/#QuickRef|Python Quick Reference]]
 +
 +==== german ====
 +
 +  * [[http://wiki.python.de/|Wiki.Python.de]]
 +  * [[http://www.python-forum.de/|Python-Forum.de]]
 
python.txt · Last modified: 2011/10/13 21:55 (external edit)
 
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Grml homepage Driven by DokuWiki