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 .
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.pybut 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 .