D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
setoptconf
/
Filename :
util.py
back
Copy
import csv from io import StringIO __all__ = ("csv_to_list") def csv_to_list(value): if isinstance(value, str) and value: reader = csv.reader(StringIO(value)) parsed = next(reader) return parsed return []