Check that file exists: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 134: | Line 134: | ||
os.path.exists("docs") |
os.path.exists("docs") |
||
os.path.exists("/docs") |
os.path.exists("/docs") |
||
==[[Raven]]== |
|||
[[Category:Raven]] |
|||
'input.txt' exists if 'input.txt exists' print |
|||
'/input.txt' exists if '/input.txt exists' print |
|||
'docs' isdir if 'docs exists and is a directory' print |
|||
'/docs' isdir if '/docs exists and is a directory' print |
|||
==[[Smalltalk]]== |
==[[Smalltalk]]== |