Shortcut key for commenting out lines of Python code in Spyder

前端 未结 6 1628
南旧
南旧 2021-01-30 00:43

I recently changed from the Enthought Canopy Python distribution to Anaconda, which includes the Spyder IDE.

In Canopy\'s code editor, it was possible to comment and unc

6条回答
  •  孤独总比滥情好
    2021-01-30 01:30

    • Single line comment

      Ctrl + 1

    • Multi-line comment select the lines to be commented

      Ctrl + 4

    • Unblock Multi-line comment

      Ctrl + 5

提交回复
热议问题