python在程序中通过Windows打开文件

1 import os
2 
3 os.startfile(r'D:\test_input.html')

 

posted @ 2019-03-17 20:01  张玉娘  阅读(506)  评论(0)    收藏  举报