Main Page

Python

From SOMWiki

Jump to: navigation, search

Python is a general purpose, object oriented scripting language.

Contents

Python under UNIX, and Linux

Python is installed on all unix machines by default. If you need a particular module installed globally, please alert the help desk. We recommend using Python for parsing text databases, general purpose scripting, and application developement. Programming help is available.


Python under Windows

Obtaining Python

Download Python python.org - A windows installer is available.

Download and install using the above installer.

Using Python under Eclipse

The PyDev team have released a plugin for the Eclipse IDE. Eclipse Plugin

To install:

  • An alternative is just getting the zip file and extracting it yourself in eclipse. If you choose to do it, just make sure the plugins folder is extracted on top of the eclipse plugins folder.

Useful Python Extension

  • Numerical Python - The fundamental package needed for scientific computing with Python is called NumPy. This package contains:
    • a powerful N-dimensional array object
    • sophisticated (broadcasting) functions
    • basic linear algebra functions
    • basic Fourier transforms
    • sophisticated random number capabilities
    • tools for integrating Fortran code.
  • SciPy is open-source software for mathematics, science, and engineering. It is also the name of a very popular conference on scientific programming with Python. The core library is NumPy which provides convenient and fast N-dimensional array manipulation. The SciPy library is built to work with NumPy arrays, and provides many user-friendly and efficient numerical routines such as routines for numerical integration and optimization. Together, they run on all popular operating systems, are quick to install, and are free of charge. NumPy and SciPy are easy to use, but powerful enough to be depended upon by some of the world's leading scientists and engineers. If you need to manipulate numbers on a computer and display or publish the results, give SciPy a try!


Useful Python Sites

Personal tools
Views