⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.24
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
__pycache__
/
View File Name :
pkgutil.cpython-311.pyc
/4卑 d Z ddlmZ ddlmZ ddlZddlZddlZddl Z ddl Z ddlZddlm Z ddlZg dZ edd Zd e_ d Zd Zdd Zd dZed!d Zd!dZe ej j e d Z G d d Z G d d Z ddlZddlmZ d!dZe ee n# e $ r Y nw xY wd Z!d!dZ"d Z#d Z$d Z%d Z&da'd Z(dS )"zUtilities to support packages. ) namedtuple)singledispatchN) ModuleType)get_importeriter_importers get_loaderfind_loader walk_packagesiter_modulesget_dataImpImporter ImpLoader read_codeextend_path ModuleInfor zmodule_finder name ispkgz.A namedtuple with minimal info about a module.c | j } || S # t $ r= | | }|Y dS t j || cY S w xY w)z'Return the finder-specific module spec.N) find_specAttributeErrorfind_module importlibutilspec_from_loader)findernamer loaders ./opt/alt/python311/lib64/python3.11/pkgutil.py _get_specr sy $ y = = =##D))>44~..tV<<<<< =s !A AAc dd l }| d }|t j j k rd S | d | | S )Nr )marshalreadr r MAGIC_NUMBERload)streamr! magics r r r ( sR NNNKKNNE +++t KKOOO<< c # K i fdt | | D ]}|V |j r t |j t t j |j dd pg } fd| D } t | |j dz | E d{V x# t $ r | ||j Y t $ r | ||j n Y w xY wdS )a Yields ModuleInfo for all modules recursively on path, or, if path is None, all accessible modules. 'path' should be either None or a list of paths to look for modules in. 'prefix' is a string to output on the front of every module name on output. Note that this function must import all *packages* (NOT all modules!) on the given path, in order to access the __path__ attribute to find submodules. 'onerror' is a function which gets called with one argument (the name of the package which was being imported) if any exception occurs while trying to import a package. If no onerror function is supplied, ImportErrors are caught and ignored, while all other exceptions are propagated, terminating the search. Examples: # list all modules python can access walk_packages() # list all submodules of ctypes walk_packages(ctypes.__path__, ctypes.__name__+'.') c | |v rdS d|| <