« first day (2321 days earlier)      last day (1020 days later) » 

4:35 PM
0
Q: How to add file.json to main.spec

NewToPythonWhen I download my python project a an executable it fails to work. This is because it requires a JSON file. How do I make both my main.py and file.json work as a stand alone executable using pyinstaller and the main.spec file? main.spec: # -*- mode: python ; coding: utf-8 -*- block_cipher = No...

To be able to say more we'd have to see main.py or a more minimal version thereof. You could even try one that just has an input() call. Chances are there's also an error in your code causing it to just exit with a traceback (you can check the return code) — Iguananaut 14 hours ago
 
2 messages moved from Python
 

« first day (2321 days earlier)      last day (1020 days later) »