Top
Back: pyobject
Forward: pyobject expressions
FastBack: User defined types
FastForward: Functions and system variables
Up: pyobject
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.22.1 pyobject declarations

Syntax:
pyobject name = pyobject_expression ;

Purpose:
defines a python object.

Default:
None

Example:
 
  pyobject empty;
  empty;
==> None

  pyobject pystr = "Hello World!";
  pyobject pyone = 17;
  pyobject pylst = list(pystr, pyone);
  pylst;
==> ['Hello World!', 17]

Top Back: pyobject Forward: pyobject expressions FastBack: User defined types FastForward: Functions and system variables Up: pyobject Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-3, March 2011, generated by texi2html.