pyargs

Change default environment of Python interpreter.

Syntax

  • pyargs
  • pa = pyargs(Name, Value)

Input argument

  • Name - a string, or row characters array
  • Value - variable value

Output argument

  • pa - pyargs object.

Description

pyargs(Name, Value, ...) generates one or multiple keyword arguments for Python functions.

In Python, a keyword argument is a value associated with an identifier.

Ensure to position pyargs as the last input argument when calling a Python function.

Example

pa = pyargs('A', 1)

See also

pyrun.

History

VersionDescription
1.3.0initial version

Author

Allan CORNET