I try to translate .py into .exe using py2exe. I use the following command for translation:

C:\Python27\python.exe setup.py py2exe 

After assembly, the application works, but does not have access to the Internet. When you run a python file there is no such problem. Folder test program .

Tell me, what am I doing wrong?

    1 answer 1

    py2exe junk. try pyinstaller or cx_freeze.