-- -*- M2-comint -*- hash: 447449196062331972

i1 : pyfile = temporaryFileName() | ".py"

o1 = /tmp/M2-60425-0/0.py

i2 : pyfile << "import math" << endl

o2 = /tmp/M2-60425-0/0.py

o2 : File

i3 : pyfile << "x = math.sin(3.4)" << endl << close

o3 = /tmp/M2-60425-0/0.py

o3 : File

i4 : get pyfile

o4 = import math
     x = math.sin(3.4)


i5 : pythonRunScript oo

o5 = {'math': <module 'math' (built-in)>, 'x': -0.2555411020268312}

o5 : PythonObject of class dict

i6 : pythonRunScript("y = math.cos(x)", Global => oo)

o6 = {'math': <module 'math' (built-in)>, 'x': -0.2555411020268312, 'y':
     0.9675266635316214}

o6 : PythonObject of class dict

i7 : 
