PyDocs

Nav

Software Packaging and Distribution

get_interpreter

zipapp

function (source)
  • get_interpreter(archive)
Return the interpreter specified in the #! line at the start of the archive. If there is no #! line, return None. The archive argument can be a filename or a file-like object open for reading in bytes mode. It is assumed to be at the start of the archive.
0 Examples
No examples for zipapp/get_interpreter.
See Also
No see-alsos for zipapp/get_interpreter
0 Notes
No notes for get_interpreter