Difference between revisions of "PythonSummary"

From NAMIC Wiki
Jump to: navigation, search
Line 9: Line 9:
 
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]].
+
There is support for a [http://www.slicer.org/slicerWiki/index.php/Slicer3::Python Python interpreter in Slicer3].
  
 
== Documentation, Tutorials and Examples ==
 
== Documentation, Tutorials and Examples ==

Revision as of 01:31, 6 November 2008

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.