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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.