久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      vscode怎么調(diào)試運(yùn)行python程序

      vscode怎么調(diào)試運(yùn)行python程序

      安裝擴(kuò)展

      1、單擊VSCode左側(cè)菜單欄-Extension圖標(biāo),輸入Python進(jìn)行搜索,在下方的Python擴(kuò)展程序中點(diǎn)擊安裝即可。

      2、選擇編譯器,Ctrl+Shift+P,鍵入Python: Select Interpreter,選擇相應(yīng)安裝好的Python編譯器

      3、安裝Linter,一般來說完成擴(kuò)展的安裝后,會(huì)出現(xiàn)提示Linter pylint is not installed 的信息,點(diǎn)擊安裝即可。這個(gè)是用來提示錯(cuò)誤信息的。

      運(yùn)行程序

      選擇一個(gè)文件夾,建立擴(kuò)展名為py的Python腳本文件,就可以運(yùn)行程序了。運(yùn)行的方法有以下幾種:

      1、F5

      2、Terminal中輸入:python hello.py

      3、程序頁面右鍵選擇在“終端中運(yùn)行Python文件”

      調(diào)試

      Python的調(diào)試和C++基本相同,單擊右側(cè)菜單欄中的蜘蛛圖標(biāo),進(jìn)入Debug??梢栽诔绦蛐刑?hào)上單擊設(shè)置斷點(diǎn),F(xiàn)11單步執(zhí)行,在左側(cè)的Variable中觀看變量的取值等。

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)