vs代码在终端运行Python的无效语法

2022-05-08

以下示例是关于Python中包含vs代码在终端运行Python的无效语法用法的示例代码,想了解vs代码在终端运行Python的无效语法的具体用法?vs代码在终端运行Python的无效语法怎么用?vs代码在终端运行Python的无效语法使用的例子?那么可以参考以下相关源代码片段来学习它的具体使用方法。

[英]:vs code run python in terminal invalid syntax源码类型:Python
# type in terminal/console:
exit() 

'''
/usr/local/opt/python/bin/python3.7 /Users/andree/Desktop/test.py
  File "<stdin>", line 1
    /usr/local/opt/python/bin/python3.7 /Users/andree/Desktop/test.py
    ^
SyntaxError: invalid syntax
'''

本文地址:https://www.itbaoku.cn/snippets/785537.html