PATH: //proc/thread-self/root/opt/cloudlinux/venv/lib/python3.11/site-packages/pyvirtualdisplay
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📄 about.py
↓
X
📄 abstractdisplay.py
↓
X
📄 display.py
↓
X
📁 examples/
X
📄 py.typed
↓
X
📄 smartdisplay.py
↓
X
📄 util.py
↓
X
📄 xauth.py
↓
X
📄 xephyr.py
↓
X
📄 xvfb.py
↓
X
📄 xvnc.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: util.py
import subprocess import sys def get_helptext(program): cmd = [program, "-help"] # py3.7+ # p = subprocess.run(cmd, capture_output=True) # stderr = p.stderr # py3.6 also p = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=False, ) _, stderr = p.communicate() helptext = stderr.decode("utf-8", "ignore") return helptext def platform_is_osx(): return sys.platform == "darwin"
SIMPAN PERUBAHAN