Python Forum
looking fo documentation for module files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
looking fo documentation for module files
#10
(Jul-30-2022, 09:53 AM)snippsat Wrote: So one advantage that this work all python version as OS environment variable control this.
This is also the greatest flaw of PYTHONPATH. Using the same installed modules for several versions of Python leads to troubles and inconsistencies.

The only case where I use PYTHONPATH is for altering temporarily the environment when I launch a command in the Linux terminal or in a Bash script, for exemple
Output:
$ PYTHONPATH="/some/dir" python spam.py
I don't know if Windows' command line supports this kind of invocation.
Reply


Messages In This Thread
RE: looking fo documentation for module files - by Gribouillis - Jul-30-2022, 09:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  finding which source files import a module Skaperen 3 2,637 Apr-22-2019, 09:28 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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