ID EN
IO

open_code

Python 3.11

Opens the provided file with mode 'rb'. This function should be used when the intent is to treat the contents as executable code.

Syntax

PYTHON
io.open_code(path)

See Also

str PyFile_SetOpenCodeHook() str