# Before change file_path = './strong_beat.wav' Usually, we just need to use a path './strong_beat.wav' to load a file. As the wave files are in the same folder as the Python script. Besides, an icon file huanbu.ico is used to show the application icon.Īs my Python script needs to load files, the path setting in this script is a little bit different than usual when we need to build a stand-alone installer. And the wave files are the sound sources for the sound of the metronome. In my case, the metronome program huanbu.pyis based on Tkinter, a framework for designing graphic user interfaces. $ ls huanbu.ico strong_beat.wav weak_beat.wav huanbu.py sub_strong_beat.wav You can install it very easily by using pip install pyintaller.There are some differences depending on your Python program. PyInstaller is used to make the application bundle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |