Skip to content

bpython don't like "__main__" #959

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 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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