Current Path: > > opt > hc_python > > lib > python3.12 > > site-packages > virtualenv > activation > batch
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 | - | - | |
__init__.py | File | 756 bytes | April 04 2025 08:02:27. | |
activate.bat | File | 1457 bytes | April 04 2025 08:02:27. | |
deactivate.bat | File | 537 bytes | April 04 2025 08:02:27. | |
pydoc.bat | File | 24 bytes | April 04 2025 08:02:27. |
from __future__ import annotations import os from virtualenv.activation.via_template import ViaTemplateActivator class BatchActivator(ViaTemplateActivator): @classmethod def supports(cls, interpreter): return interpreter.os == "nt" def templates(self): yield "activate.bat" yield "deactivate.bat" yield "pydoc.bat" @staticmethod def quote(string): return string def instantiate_template(self, replacements, template, creator): # ensure the text has all newlines as \r\n - required by batch base = super().instantiate_template(replacements, template, creator) return base.replace(os.linesep, "\n").replace("\n", os.linesep) __all__ = [ "BatchActivator", ]
SILENT KILLER Tool