PyInstaller overview
Python is an interpreted language; instead of being compiled to machine code the way C or C++ is, your Python code (or an optimized version of it called bytecode) is read and executed by the Python interpreter each time you run it. This allows Python to have some features that make it very easy to use, but also make it hard to compile into machine code to provide a traditional standalone executable.
PyInstaller steps around this problem by packaging your script with a Python interpreter, as well as any libraries or binaries required for it to run. These things are bundled together into either a directory or a single file to provide a distributable application that can be copied over to any system and executed, even if ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access