Python Forum
how set/change env var PYTHONOPTIMIZE in Python 3 / 3.7 / 3.8 ????
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how set/change env var PYTHONOPTIMIZE in Python 3 / 3.7 / 3.8 ????
#3
(Aug-02-2020, 04:12 PM)Gribouillis Wrote: You can change it like any environment variable in your OS (which is?) That said, why not simply run python with the -O option?

when you say:
That said, why not simply run python with the -O option

What do you mean in Python IDLE or Thonny Python Editor? When running/executing the file.py... how?

Please give an example
Reply


Messages In This Thread
RE: how set/change env var PYTHONOPTIMIZE in Python 3 / 3.7 / 3.8 ???? - by lsepolis123 - Aug-03-2020, 05:07 AM

Forum Jump:

User Panel Messages

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