mirror of
https://github.com/samsledje/D-SCRIPT.git
synced 2026-06-04 15:04:24 +08:00
14 lines
299 B
Python
14 lines
299 B
Python
import os
|
|
|
|
deletes = []
|
|
for item in deletes:
|
|
if os.path.exists(f"dscript/pdb/{item}.pdb"):
|
|
os.remove(f"dscript/pdb/{item}.pdb")
|
|
|
|
pdb_directory = "dscript"
|
|
files = os.listdir(f"{pdb_directory}")
|
|
if ".DS_Store" in files:
|
|
files.remove(".DS_Store")
|
|
# print(len(files))
|
|
print(len(files))
|