按照以下链接安装Python和Visual Studio代码后:
https://www.youtube.com/watch?v=dNFgRUD2w68&lc=UgxjG9Bd_Uwm9duwpld4AaABAg
I can't see the reload button in the VS but there are two button; one is disable, and the other is uninstall. Do you know why I don't have reload button and how to resolve this issue?
您不必重新加载页面。 Python已安装。 只需关闭“扩展名:Python”附近的当前窗口。 如果由于某种原因VSCode仍然无法识别python文件,则将其关闭并再次打开。
After finishing your Python file in VS Code, save all changes, head to the terminal and enter the directory of the python file(A directory is where you've saved your file), and type
python example_file.py
. Of course, you can change the nameexample_file.py
to your actual file name.