You are here: Home Users and Science Experimental facilities Technical Beamline Support BLISS Documentation Python programming language

Python programming language

last modified 27-11-2007 11:26

Bliss' information about the python compiled and linked @ ESRF.

python

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 instructions

for 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...

     

    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: NumPy: NumArray: Scientific Python: PyFort: Fnorb:
      Fnorb Using CORBA or how to use distributed programming from Python
    PIL:
      PIL Python Image Library. Image formats and more.
    Database:
      MySQLdb direct access to MySQL databases
    MegaWidgets:
      Pmw collection of megawidgets on top of Tkinter
    Documentation:
      Epydoc Tool for generating API documentation for Python modules, based on their docstrings.

 

European Synchrotron Radiation Facility