IndexError: tuple index out of range when using py2exe

Update (2020-11-17): py2exe LIVES!!! Apparently my pessimism a year ago (see “Update” at bottom of original post) was unwarranted. py2exe released new versions in October and November of 2020, supporting 3.5-3.8 in 0.10.0.2 and adding 3.9 support in 0.10.1.0 (dropping support for 3.4 and earlier). As long as you upgrade to an appropriate py2exe version … Read more

How can I convert a .py to .exe for Python?

Steps to convert .py to .exe in Python 3.6 Install Python 3.6. Install cx_Freeze, (open your command prompt and type pip install cx_Freeze. Install idna, (open your command prompt and type pip install idna. Write a .py program named myfirstprog.py. Create a new python file named setup.py on the current directory of your script. In … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)