OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4730
/
lib
/
python3.12
/
site-packages
/
setuptools
/
_vendor
/
jaraco
/
text
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
Lorem ipsum.txt
1.3 KB
06/10/2025 09:50:49 PM
rw-r--r--
📄
__init__.py
15.87 KB
06/10/2025 09:50:49 PM
rw-r--r--
📁
__pycache__
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
layouts.py
643 bytes
06/10/2025 09:50:49 PM
rw-r--r--
📄
show-newlines.py
904 bytes
06/10/2025 09:50:49 PM
rw-r--r--
📄
strip-prefix.py
412 bytes
06/10/2025 09:50:49 PM
rw-r--r--
📄
to-dvorak.py
119 bytes
06/10/2025 09:50:49 PM
rw-r--r--
📄
to-qwerty.py
119 bytes
06/10/2025 09:50:49 PM
rw-r--r--
Editing: strip-prefix.py
Close
import sys import autocommand from jaraco.text import Stripper def strip_prefix(): r""" Strip any common prefix from stdin. >>> import io, pytest >>> getfixture('monkeypatch').setattr('sys.stdin', io.StringIO('abcdef\nabc123')) >>> strip_prefix() def 123 """ sys.stdout.writelines(Stripper.strip_prefix(sys.stdin).lines) autocommand.autocommand(__name__)(strip_prefix)