Check that file exists: Difference between revisions

no edit summary
No edit summary
Line 134:
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]]==
Anonymous user