Difference between revisions of "PythonSummary"

From NAMIC Wiki
Jump to: navigation, search
m (Update from Wiki)
 
Line 8: Line 8:
  
 
Python is typically used as an interface to toolkits implemented in C++ (e.g., [[VTKSummary|VTK]] or [[ITKSummary|ITK]]). The [[CableSwigSummary|CableSwig]] program (or equivalent) is used to automatically generate Python bindings for these toolkits.
 
Python is typically used as an interface to toolkits implemented in C++ (e.g., [[VTKSummary|VTK]] or [[ITKSummary|ITK]]). The [[CableSwigSummary|CableSwig]] program (or equivalent) is used to automatically generate Python bindings for these toolkits.
 +
 +
There is support for a [[Slicer3:Python | Python interpreter in Slicer3]].
  
 
== Documentation, Tutorials and Examples ==
 
== Documentation, Tutorials and Examples ==

Revision as of 12:09, 10 April 2007

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.