Unanswered
Hi There, I'Ve Encountered A Problematic Behavior In Python. When Defining An Argument A Default Value Of
PompousBeetle71 BTW: if you remove the type=str
from the argparse, it will do what you want, None will stay None (instead of ''), all other values will be of type str
as this is always the default 🙂
141 Views
0
Answers
4 years ago
one year ago