10 Sep
2020
10 Sep
'20
8:36 a.m.
On 2020-09-10 at 11:45:37 -0000, rangapv08@gmail.com wrote:
Got the argparse() in version 3.8.2 and above the action=CusotmClass can have a user defined custom subclass and override the functionality in the def __init__() method. Along with this can we also have a built in custom method/methods that I can define under this custom Class, so that instead of calling the Action itself I have the option of calling the Action.Method() during the add_argument defintition.
Why do you want that? What, exactly, could you do (or do better) with another method that you can't do with another class's __init__?