stop a Python session
The Stop command shuts down the external Python process, thereby clearing the state. Any subsequent commands using the Python package will start a new Python process.
This command is automatically invoked by calling restart.
This function is part of the Python package, so it can be used in the short form EvalMember(..) only after executing the command with(Python). However, it can always be accessed through the long form of the command by using Python[EvalMember](..).
EvalString⁡a = 42
Error, (in Python:-EvalString) NameError: name 'a' is not defined
['Traceback (most recent call last):\n', ' File "<string>", line 1, in <module>\n', "NameError: name 'a' is not defined\n"]
The Python[Stop] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document
What kind of issue would you like to report? (Optional)