首页 > 其他分享 >Does VS code have variable explorer object like we have it in spyder?

Does VS code have variable explorer object like we have it in spyder?

时间:2022-09-03 12:02:03浏览次数:89  
标签:code explorer variables object Does variable your

Does VS code have variable explorer object like we have it in spyder?

  1. Open your .py script in vscode
  2. Right click anywhere on the script > Run current File in interactive Window

 

 

3.In the toolbar of the interactive window click on the variable icon

 

4.You can now consult the values of variables created by your script

 

Variables Explorer and Data Viewer

Within the Python Interactive window, it's possible to view, inspect, and filter the variables within your current Jupyter session. Select the Variables button in the interactive window toolbar to open the Variables explorer after running code and cells, you'll see a list of the current variables, which will automatically update as variables are used in code.

For additional information about your variables, you can also double-click on a row or use the Show variable in data viewer button to see a more detailed view of a variable in the Data Viewer. Once open, you can filter the values by searching over the rows.

 

标签:code,explorer,variables,object,Does,variable,your
From: https://www.cnblogs.com/chucklu/p/16652314.html

相关文章