Run python source file from PowerShell

前端 未结 6 427
伪装坚强ぢ
伪装坚强ぢ 2021-01-19 16:28

I\'m trying to learn python but have some problem running source files from power shell. When I type \'python\' it opens up and I can type python commands directly in the sh

6条回答
  •  孤城傲影
    2021-01-19 17:09

    This my sound silly, especially coming from a beginner.

    Just save the file on your desktop. Open up powershell and drag the file directly into powershell and it opens. kind of tedious but it works

提交回复
热议问题