Check that file exists: Difference between revisions

No edit summary
Line 109:
os.path.exists("docs")
os.path.exists("/docs")
 
==[[Smalltalk]]==
[[Category:Smalltalk]]
 
"Smalltalk has no notion of 'current directory' because Smalltalk isn't tied to the shell that created it."
 
FileDirectory new fileExists: 'c:\serial'.
 
(FileDirectory on: 'c:\') directoryExists: 'docs'.
 
==[[Tcl]]==
Anonymous user