本地搭建 PythonTutor
因为国外网址 https://pythontutor.com/ 太慢
-
下载zip包
https://gitee.com/BrightXu/OnlinePythonTutor -
解压
-
安装并运行
pip install bottle
cd OnlinePythonTutor/v5-unity/
python bottle_server.py
然后在浏览器中输入:
http://localhost:8003/visualize.html
或者
http://localhost:8003/live.html
即可使用
写一行代码
自动形成对应的图像
简直不要太爽
