Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpython don't like "__main__" #959

Closed
Labels
Milestone
@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 likebpython script.py but I have no output.

After some test, I discover that it come from the testif __name__ == "__main__" os always false. It's due to the fact thatname 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


      [8]ページ先頭

      ©2009-2026 Movatter.jp