python打开windows应用程序的实例
作者:zhizunyu2009 时间:2021-08-22 09:49:40
可以加上时间判断,让程序在固定的时间启动。
#coding=utf-8
#!/usr/bin/python
import os
def open_app(app_dir):
os.startfile(app_dir)
if __name__ == "__main__":
app_dir = r'C:\Program Files\Sublime Text 2\sublime_text.exe'
open_app(app_dir)
来源:https://blog.csdn.net/zhizunyu2009/article/details/73826455
标签:python,windows,应用程序
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Python实现批量下载ts文件并合并为mp4
2022-07-15 20:24:09
![](https://img.aspxhome.com/file/2023/0/70110_0s.png)
python执行子进程实现进程间通信的方法
2021-04-23 04:29:20
ASP中一个字符串处理类加强版
2008-11-25 18:07:00
随机显示图片
2009-07-26 10:13:00
SQL Server 2005中数据库镜像的四个问题
2009-02-19 16:48:00
Python中的exec、eval使用实例
2022-07-05 21:01:41
Oracle数据库编写有效事务指导方针
2009-03-19 17:41:00
css基础教程之序曲
2008-07-23 12:40:00
Python 实现简单的电话本功能
2021-11-16 09:47:58
Python数据结构与算法中的栈详解(3)
2022-01-19 14:38:24
![](https://img.aspxhome.com/file/2023/4/67384_0s.png)
Python 保存矩阵为Excel的实现方法
2022-07-23 07:05:00
Python中处理无效数据的详细教程
2021-11-18 06:11:07
![](https://img.aspxhome.com/file/2023/6/83736_0s.png)
Python使用lambda表达式对字典排序操作示例
2022-12-26 06:27:46
Python入门教程(七)Python数字类型
2022-05-29 22:40:00
![](https://img.aspxhome.com/file/2023/3/81523_0s.png)
浅谈Python中range和xrange的区别
2021-04-18 14:52:13
SQL集合函数中case when then 使用技巧
2011-09-30 11:54:59
利用Python pandas对Excel进行合并的方法示例
2022-07-31 13:39:41
Python获取任意xml节点值的方法
2023-03-09 01:40:07
python简单商城购物车实例代码
2022-10-28 02:16:37
Go语言生成随机数的方法
2023-08-28 20:11:10