Python - Maple Help

Online Help

All Products    Maple    MapleSim


Overview of the Python Package

 

Calling Sequence

Description

List of Python Package Commands

Compatibility

Calling Sequence

Python[command]( arguments )

command( arguments )

Description

• 

The Python package provides access to a Python interpreter and a selection of pre-installed Python packages.

List of Python Package Commands

• 

The following is a list of the commands in the Python package.

DefineFunction

parse and evaluate a Python def statement

EvalFunction

evaluate a Python function

EvalMember

evaluate a Python member reference

EvalString

parse and evaluate a Python statement

GetVariable

get a variable value from a Python session

ImportModule

import a module in the Python environment

None

variable equivalent of Python's None

PackageTool

parse and evaluate a Python def statement

SetVariable

set name=value in a Python session

Start

manually start a Python session

Stop

stop a Python session

Compatibility

• 

The Python package was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

• 

The Python package was updated in Maple 2021.

See Also

CodeGeneration:-Python

type/python