Apr-23-2020, 05:03 PM
(This post was last modified: Apr-23-2020, 05:07 PM by ClassicalSoul.)
I've got a python project with the following directory:
pull.py
scrape.py
emailer.py
main.py
winter_2020.html
winter_2020.txt
I've converted the main.py (which requires access to the html and txt files) into an .exe using pyinstaller. It makes no difference whether I use the --onefile command: when I run it in the command terminal I get an
How can I fix this?
pull.py
scrape.py
emailer.py
main.py
winter_2020.html
winter_2020.txt
I've converted the main.py (which requires access to the html and txt files) into an .exe using pyinstaller. It makes no difference whether I use the --onefile command: when I run it in the command terminal I get an
FileNotFoundError: [Errno 2] No such file or directory: 'winter_2020.html'
error.How can I fix this?