Python programming language
last modified
27-11-2007 11:26
Bliss' information about the python compiled and linked @ ESRF.
Python programming language
Python is a powerful, multi-platform, object-oriented interpreted language. The BLISS group has chosen it as a fundamental brick for our future developments. This choice will allow to profit from the huge library of existing modules in domains as scientific computing, graphical interfaces, databases, inter-process communication between others.
Installation instructionsfor ESRF beam lines.
BLISS maintains a Python installation with selected modules. Currently the pythonbliss version number is 2.0. You can run it from NICE and other clusters by running /segfs/bliss/bin/python. Ask to your BLISS contact if you want python installed on your beam line machines.What's new in python 2.3
Current pythonbliss version 2.0 includes :
- Python 2.3 Basic installation with support for readline, threads. Available for HP-UX 10.20, Solaris (7, 8) and Linux (SuSE 6.4, 7.2, 8.2)
- Tkinter Using Tcl8.4, Tk 8.4, Blt2.4z. Allows to build rapidly user interfaces. with widgets. It wraps tk8.4 library with an object-oriented interface.
- NumPY Numerical Python. Routines and tools for powerful mathematical calculation on python. ( Version 23.0 )
- NumArray This is a reimplementation of Numeric with new extensions. It is not fully compatible with numeric. ( Version 0.6.1)
- ScientificPython Konrad Hinsen's scientific modules. Konrad presented a very interesting seminar at ESRF on March this year. ( Version 2.4.3 )
- PyFort Python interface for fortran modules ( Version 8.3 )
- PIL Python image library. ( Version 1.1.4 )
- Fnorb Python corba interface for inter-process communication. ( Version 1.2 )
- Epydoc Epydoc is a tool for generating API documentation for Python modules, based on their docstrings. A lightweight markup language called epytext can be used to format docstrings, and to add information about specific fields, such as parameters and instance variables. ( Version 2.0 )
- MySQLdb Module to access MySQL databases. (version 0.9.2)
- PyQt These are the Python bindings for Qt, supporting Qt 3.2. ( Version 3.8 )
- EdfFile, Tree, Taco, sps, spslut, specfile ... Developments by BLISS and other ESRF staff: available modules with this version includes sps ( access to SPEC shared memory ), SpecFile module, Taco modules, Specplot, Blt, Blissgraph...
- Python Tutorial If you are new with Python
- Reference Manual Python language reference
- Library Reference Python library reference
- Extend/Embed Python Tutorial on extending and embedding Pythonin your C programs.
- C API reference Reference for C programmers on how to extend and/or embed Python
- Macintosh Python Reference Reference for Mac users. Python does also run on Mac's. If you want to install it you will have to get it from the www.python.org web site.
- Dive into Python Dive Into Python is a
free Python tutorial for experienced programmers.
BLISS/Python documentation
If you want to look at the Python on-line documentation try the official official python web site. Here is a module index.Extensions:
-
Tkinter:
- Introduction F.Lundh's introduction and class reference
- Tkinter reference Tkinter library reference
- Numerical Python LLNL powerful Numerical Python modules
- Numerical Python Reimplementation of the Numerical python module.
- Scientific Python Scientific Module by Konrad Hinsen
- Python/Fortran(PDF) Compiling your Fortran module for using in on Python
- Fnorb Using CORBA or how to use distributed programming from Python
- PIL Python Image Library. Image formats and more.
- MySQLdb direct access to MySQL databases
- Pmw collection of megawidgets on top of Tkinter
- Epydoc Tool for generating API documentation for Python modules, based on their docstrings.