Closed RajaSrinivasan closed 4 years ago
... I find the even when I specify a non existing file I get a non nil File *. ...
That sounds like a bug to me unless you specified os.O_CREATE
flag, which would create a new file.
Also I don't see anything confusing about flags and permissions, those are exactly same that are used in os
package when opening a file.
Closed as no follow up from OP
The flag and perm arguments are a bit confusing. Some clarifications and examples might help. On my mac, I find the even when I specify a non existing file I get a non nil File *. I am not sure if this is an issue or a bug in my usage:
BTW - This is my second project with argparse. Thanks for your efforts.
My first use (one a fork of the other) is at:
https://github.com/RajaSrinivasan/srctrace.git https://github.com/RajaSrinivasan/repotrace.git
They can be viewed as basic and simple applications of argparse.
srini