Why do I get an error when using "import base64" in a Panther script parser?

Last updated: January 5, 2026

QUESTION

Why does my script parser fail when I try to use import base64?

ANSWER

Panther script parsers do not support import statements, so import base64 will fail. Base64 decoding is already available through the built-in base64.decode() function and does not require any imports.

For a full list of supported functions, please refer to Panther’s script parser documentation.