Skip to content

bpython don't like "__main__" #959

Closed
@o101010

Description

@o101010

Hi,

I use bpython as replacement for the standart python's REPL (thanks linux's alias !). I try to start a script with bpython by using command like bpython script.py but I have no output.

After some test, I discover that it come from the test if __name__ == "__main__" os always false. It's due to the fact that name is "console" with bpython .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions