This commit is contained in:
2025-12-12 01:27:48 +00:00
parent 9178cd7a63
commit 096a4470c3

17
script_python.py Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env python3
import os
def main():
cwd = os.getcwd()
files = os.listdir(cwd)
print(f"Folder curent: {cwd}\n")
print("Fișiere găsite:")
for name in files:
print(f" - {name}")
print(f"\nTotal fișiere/foldere: {len(files)}")
if __name__ == "__main__":
main()