Python: Model os.stat (and friends)

This commit is contained in:
Rasmus Wriedt Larsen
2021-11-16 10:40:58 +01:00
parent 9f4107d211
commit a980f26fda
3 changed files with 30 additions and 0 deletions

View File

@@ -42,3 +42,8 @@ import genericpath
posixpath.exists("filepath") # $ getAPathArgument="filepath"
ntpath.exists("filepath") # $ getAPathArgument="filepath"
genericpath.exists("filepath") # $ getAPathArgument="filepath"
import os
os.stat("filepath") # $ getAPathArgument="filepath"
os.stat(path="filepath") # $ getAPathArgument="filepath"