initial creation

This commit is contained in:
2025-05-20 11:57:43 -04:00
commit c98b612926
8447 changed files with 1862526 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env python
import sys
import os
if len(sys.argv) < 2:
start_dir = "."
else:
start_dir = sys.argv[1]
for base_name in os.listdir(start_dir): # <1>
file_name = os.path.join(start_dir, base_name)
if os.access(file_name, os.W_OK): # <2>
print(file_name, "is writable")