Re: When is File/Dir.exists?() false?
Paul Prescod <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Mukhsein Johari wrote: >... > What about Dir.delete(). Isn't better (more consistent > with other objects) to use something like "del adir"? Deleting the in-memory object is different than deleting the file from disk. And anyhow, del doesn't even delete in-memory objects. It deletes bindings to them. a = Object() b = a del a # doesn't affect b Paul Prescod