I have heard, that Python programs can be "converted" into executables files. My question are:
Thanks!
Will that executable work on PC, where is not installed python?
Yes
Will that executable work on PC, where are not installed all libraries, which I installed manually with pip for "development"?
Yes
If answer to previous questions is YES, then - will running my executable firstly install python and used library?
No need to install python just run newly created .exe on windows machine by copy paste on it.
Yes you can do it using pyinstaller. On your machine do run
pip install pyinstaller
pyinstaller --onefile -w 'filename.py'
This will create ‘dist’ folder above. Here you will get your ‘.exe’ file.
Ref:
https://www.geeksforgeeks.org/convert-python-script-to-exe-file/