print function does not show output on sublime text 3 console

后端 未结 4 1384
星月不相逢
星月不相逢 2020-12-09 06:58

I have started off with Python today and stuck with a weird problem. I am using Python 3.5.1 and Sublime text 3 and have written a basic hello world program.

p

相关标签:
4条回答
  • 2020-12-09 07:20
    1. SHIFT-CTRL-B
    2. CTRL-B ( next time onwards)
    0 讨论(0)
  • 2020-12-09 07:31

    press Shift-Ctrl-B and select python. That happens because the program only checks if your python program is correctly. The next time just pressing Ctrl+B, will work

    0 讨论(0)
  • 2020-12-09 07:38

    In my case I needed set Build System to Python. Only it solved for me.

    0 讨论(0)
  • 2020-12-09 07:39

    Solved it,

    Press Ctrl+Shift+B after which a list pops up, select python from that list and its done. From next time just pressing Ctrl+B will work.

    'Ctrl+Shift+B' Means "Build this code and then RUN it" instead of simply compile it

    0 讨论(0)
提交回复
热议问题