Home  >  Q&A  >  body text

python - Sublime中Command+B 无法编译怎么设置?

刚学Python,用sublime做IDE,码完用Command + B无法输出结果,但是能检查出语法错误。请问这是什么情况?如何修改配置?

PHP中文网PHP中文网2741 days ago254

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 17:58:35

    Looking at the code you screenshot, there is no output written, so it is reasonable that the console only has the completion time

    If you want to see the output, you have to at least write some printstatements

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:58:35

    haha, I have the same problem. Command+shift+B selects the first one. Do not select only syntax check on the second line. Whichever one is ok!

    reply
    0
  • Cancelreply