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
#32
i've never changed any file with either of those names. since you did not say where/how they are found by the engine, i ran a full system-wide search in root. i only found "/etc/python3.8/sitecustomize.py" for the first one:
Output:
lt1a/forums/1 /home/forums 9> ls --full-time /etc/python3.8/sitecustomize.py -rw-r--r-- 1 root root 155 2020-03-13 06:14:16.000000000 -0400 /etc/python3.8/sitecustomize.py lt1a/forums/1 /home/forums 10> box /etc/python3.8/sitecustomize.py +----</etc/python3.8/sitecustomize.py>----------------+ | # install the apport exception handler if available | | try: | | import apport_python_hook | | except ImportError: | | pass | | else: | | apport_python_hook.install() | +-----------------------------------------------------+ lt1a/forums/1 /home/forums 11>
for "usercustomize.py" i found 3 files in a 7 year old backup from 2015.

Output:
rw-r--r-- 1 phil phil 5 2015-04-19 06:43:05.564927659 -0400 /home/black/u2/forums/.local/lib/python2.7/dist-packages/usercustomize.py -rw-r--r-- 1 phil phil 151 2015-04-19 06:43:47.964926793 -0400 /home/black/u2/forums/.local/lib/python2.7/dist-packages/usercustomize.pyc -rw-r--r-- 1 phil phil 5 2015-04-19 06:42:51.972927936 -0400 /home/black/u2/forums/.local/lib/python3.4/dist-packages/usercustomize.py
the contents of the 2 smaller .py files is "pass\n". so both of these appear to be benign. i have never coded "site.PREFIXES" anywhere i know of.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: looking fo documentation for module files - by Skaperen - Aug-06-2022, 11:58 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