Python

From ONELAB
Revision as of 06:18, 29 May 2013 by Geuzaine (talk | contribs) (Created page with "Any Python script can become a native ONELAB client by importing the ''onelab.py'' module. = Getting started = # Download and uncompress a recent version of Gmsh, or the Gms...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Any Python script can become a native ONELAB client by importing the onelab.py module.

Getting started

  1. Download and uncompress a recent version of Gmsh, or the Gmsh/GetDP bundle for Windows64, Windows32, Linux64, Linux32 or MacOSX. These builds contain the onelab.py module pre-installed in the same directory as the Gmsh executable.
  2. Double-click on the Gmsh executable (gmsh.exe
    Error creating thumbnail: Unable to save thumbnail to destination
    on Windows).
  3. Load one Python script (.py file) through the File/Open menu, e.g. Template:GetDPFile.
  4. Click on Run.
  5. ... that's it!