convert/maple
convert a foreign object to a Maple expression
Calling Sequence
Parameters
Description
Examples
Compatibility
convert( expr, maple )
expr
-
expression to convert
The convert(expr, maple) function converts a foreign expression expr into a Maple expression. If expr is already a Maple expression, this conversion has no effect.
pyt≔Python:-EvalString⁡{'city' : 'Montevideo', 'country' : 'Uruguay'}
pyt≔<Python object: {'city': 'Montevideo', 'country': 'Uruguay'}>
type⁡pyt,python
true
T≔convert⁡pyt,maple
T≔table⁡country=Uruguay,city=Montevideo
type⁡T,maple
The convert/maple command was introduced in Maple 2023.
For more information on Maple 2023 changes, see Updates in Maple 2023.
See Also
type/maple
type/python
Download Help Document