PATH: //opt/cloudlinux/venv/lib/python3.11/site-packages/tomlkit
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📄 _compat.py
↓
X
📄 _utils.py
↓
X
📄 api.py
↓
X
📄 container.py
↓
X
📄 exceptions.py
↓
X
📄 items.py
↓
X
📄 parser.py
↓
X
📄 py.typed
↓
X
📄 source.py
↓
X
📄 toml_char.py
↓
X
📄 toml_document.py
↓
X
📄 toml_file.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: _compat.py
from __future__ import annotations import contextlib import sys from typing import Any PY38 = sys.version_info >= (3, 8) def decode(string: Any, encodings: list[str] | None = None): if not isinstance(string, bytes): return string encodings = encodings or ["utf-8", "latin1", "ascii"] for encoding in encodings: with contextlib.suppress(UnicodeEncodeError, UnicodeDecodeError): return string.decode(encoding) return string.decode(encodings[0], errors="ignore")
SIMPAN PERUBAHAN