Pickle - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Pickle (.pkl) File Format

Pickle file format

 

Description

Examples

Description

• 

Pickle is a binary file format for storing arbitrary Python data.

• 

The general-purpose commands Import and Export support this format.

• 

Export accepts any input which is accepted by convert/python.

• 

Import produces an expression of type python.

• 

Note that this file format is not secure. It is possible to construct malicious pickle data which will execute arbitrary code on import. It should therefore only be used with trusted data.

Examples

Encode a matrix as a pickle expression.

Import a pickled expression from a file.

(1)

Import the same data, but as a python  expression.

(2)

See Also

Formats

Formats,NPY

Formats,NPZ

 


Download Help Document