On 09/28/2017 10:12 PM, Brandon Allbery wrote:
On Fri, Sep 29, 2017 at 1:09 AM, ToddAndMargo <toddandma...@zoho.com
Figured it out. The chat line told me that there is an error in the
docs. The proper way was "e" not "f"
This is not the same thing. .e will return True if it exists but is a
directory, for example. I mentioned this in my first response.
In fact, the different behavior seems inconsistent and might be a bug.
Yup. That is what the docs say. It is a mistake.
In my example, eraseme.txt is a file. There is no directory
of that name anywhere on my computer. Spell it right
and you get a True back. Misspell it and you get a False back.