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?
- Open your .py script in vscode
- 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
Running cells with 'Python 3.10.0 64-bit' requires ipykernel package.
Run the following command to install 'ipykernel' into the Python environment. Command: 'c:/Users/clu/AppData/Local/Programs/Python/Python310/python.exe -m pip install ipykernel -U --user --force-reinstall'
ValueError: check_hostname requires server_hostname
pip安装加速&&python淘宝镜像安装包
国内源:
新版ubuntu要求使用https源,要注意。
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
临时使用:
可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple
例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyspider,这样就会从清华这边的镜像去安装pyspider库。
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.
相关文章
- What is "found.000" ? How to deal with it?
- IT 运维管理常用工具大全
- 学习计算机it编程的 10 大好处
- IT:银行类金融科技岗笔试习题集合—各大行(工商+建设+农业+浦发+招商+平安+人民+邮政银行)计算机信息科技岗笔试集合(包括计算机基础知识+网络+操作系统+数据库系统原理)
- POJ 1094: Sorting It All Out( 拓扑排序 )
- once do, do it well
- IT行业面试技巧,90%的人都不知道
- 转:什么是决策 -- IT项目管理
- 裁员vs扩招冰火两重天:IT行业“选择大于努力”的内在逻辑
- 一文吃透 VS Code+Git 操作(vs code中git的相关配置与使用)
- 120个IT冷知识,看完就不愁做选择题了