【发布时间】:2019-04-03 13:10:35
【问题描述】:
当我尝试使用打印命令在终端中运行 Python 代码时,没有任何反应。当我在终端本身尝试test.py 命令时,下面复制的文本就是输出。
请协助如何让终端打印我的代码。
E:\Kath\Documents\blockchain> test.py
test.py : The term 'test.py' is not
recognized as the name of a cmdlet, function,
script file, or operable program. Check the
spelling of the name, or if a path was
included, verify that the path is correct and
try again.
At line:1 char:1
+ test.py
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound:
(test.py:String) [], CommandNotFoundExce
ption
+ FullyQualifiedErrorId : CommandNotFound
Exception
【问题讨论】:
-
python test.py? -
谢谢!尝试了这个,它再次输出相同的消息。还有其他想法吗?
标签: python terminal visual-studio-code