Skip to content

Usefullness of begin.start as a boolean function #63

Description

@Lapin0t

Hi, this is a really great library, the first high level command-line app library I actually like (but as we all have our quirky ways of doing scripts I will be making some pull requests for side features like completion or no double flags)! There is just something that bugs me: what is the benefit of using if begin.start() over the more conventional if __name__ == '__main__' as it seems to be strictly equivalent (but more complicated since you can't just check the globals and have to fiddle with the global stackframe)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions