main.py to exe code example
Example 1: auto-py-to-exe with python3
$ pip install auto-py-to-exe
Example 2: auto py to exe with multiple images
a.datas += [ ('picture.jpg', '.\\picture.jpg', 'DATA')]'
$ pip install auto-py-to-exe
a.datas += [ ('picture.jpg', '.\\picture.jpg', 'DATA')]'