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
#26
(Aug-05-2022, 05:41 PM)Skaperen Wrote: where does python look for modules before it has site loaded so it can find site.py?
I think it is in <base_exec_prefix>/lib/pythonX.Y where the prefix is the value of sys.base_exec_prefix and X.Y is for example 3.8

Which values do you have for sys.exec_prefix and sys.base_exec_prefix ?
Reply


Messages In This Thread
RE: looking fo documentation for module files - by Gribouillis - Aug-05-2022, 06:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  finding which source files import a module Skaperen 3 2,531 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