Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Statements?
#11
If you plan to convert your script to exe you don't need the venv any more (after you convert the script). You will activate it, convert the script and the interpreter from venv + all dependencies installed for it and used in the script will be bundled (as a single file or as a folder - based on your preferences).
As to using py2exe, better look at pyinstaller. I am not sure if 3.7 is supported in py2exe. Last time I tried py2exe it had problems even with 3.6. But it was more than a year ago - this may have changed.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020