Python on grml

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.” – 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
  • 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
  • python-werkzeug: a collection of utilities for WSGI applications

Programming Python with Vim

See ':help if_pyth' in vim-python and Programmieren mit Vim (german).

Using ipython

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:

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 '<\#> '

Ressources

english

german

 
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