Oct-08-2019, 04:39 PM
Build to one file and give no Path.
Then should the one .exe file find files that are in same
I guess you most keep file name the same or have most have a way that read files in eg openpyxl.
Then should the one .exe file find files that are in same
dist
folder.I guess you most keep file name the same or have most have a way that read files in eg openpyxl.
from openpyxl import load_workbook wb = load_workbook(filename='some.xlsx')Build could eg be:
pyinstaller --onefile --console --add-data some.xlsx;.In spec file it would be,there also easier to add more file if needed.
datas=[('some.xlsx', '.')],