Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
运行py 文件 终端一闪而过
Apps Section
1427
views ·
3
replies ·
To
floor
Go
wenfer
deepin
2015-04-18 00:18
Author
直接运行无反应,在终端运行,一闪而过,也不知道是什么结果,求解
Reply
Like 0
Favorite
View the author
All Replies
wenfer
deepin
2015-04-18 00:18
#1
python 2.7.6
Reply
Like 0
View the author
lcw0268
deepin
2015-04-18 04:02
#2
It has been deleted!
186******98
deepin
2015-04-18 04:38
#3
如果执行一个 python 脚本, 执行完成以后终端会自动关闭。 如果你要看结果, 应该先打开终端, 然后 cd 到你 python 文件的目录, 用 python ./file.py 来执行, file.py 是你要测试的 python 文件名称。
Reply
Like 0
View the author
Feng Yu
deepin
2015-04-18 05:59
#4
在终端下运行就可以了
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Events
More