PythonSummary

From NAMIC Wiki
Jump to: navigation, search
Home < PythonSummary

Description

Tcl, Perl, Scheme or Java.

Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.

Role In NAMIC

Python is typically used as an interface to toolkits implemented in C++ (e.g., VTK or ITK). The CableSwig program (or equivalent) is used to automatically generate Python bindings for these toolkits.

There is support for a Python interpreter in Slicer3.

Documentation, Tutorials and Examples

A Beginner's Guide To Python is available online.

Several books are also available from Amazon.com as well as other on-line sources and local book stores.

License

The Python Software Foundation (PSF) holds the copyright. It is an open-source license allowing unrestricted commercial usage.