There is no static binding in python. All imports require the correct dependencies to be installed on our target machine. The choice of version of such libraries is in our solution.
Now let's move on to the binary builders for python. In this case, we will need to determine the type of binding based on the GNU definitions. If the user can replace the dependency as he likes, it is dynamic. If a dependency is attached along with the binary element itself, this is a static binding. In the case of cx_freeze or pyinstaller, if we create it as a single file, this is a static binding. If we build it in normal mode, where all the dependencies are collected as separate files, this is dynamic linking. The idea is whether we can replace the dependency on the target machine or not.
source share