通过python启动和关闭mac系统上的程序

用Python在Mac系统上启动和关闭程序很简单,可以使用Python的os模块来实现,例如:import os os.system('open /Applications/TextEdit.app') os.system('killall TextEdit')

猜你喜欢

转载自blog.csdn.net/weixin_35751194/article/details/129592177