Jan-31-2025, 02:28 PM
Hi team,
I am using pyinstaller to cerate a exe of my main.py. The main uses different other python_scripts.py which are located in the same folder.
How do you add them into your query. I tried this but it is not working properly. Awesome if you could help.
pyinstaller --onefile --add-data "folder/script1.py:folder/" --add-data "folder/script2.py:folder/" folder/main.py
Still looking for the files in the dist folder
I am using pyinstaller to cerate a exe of my main.py. The main uses different other python_scripts.py which are located in the same folder.
How do you add them into your query. I tried this but it is not working properly. Awesome if you could help.
pyinstaller --onefile --add-data "folder/script1.py:folder/" --add-data "folder/script2.py:folder/" folder/main.py
Still looking for the files in the dist folder