Singular Manual: pyobject declarations

  | ### 4.27.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]

User manual for Singular version 4-1-2, 2019, generated by texi2html.