bovenson

在python代码中实现和在终端中输入的命令行一样的效果,以命令(audacious -p &)为例,该代码实现用audacious在后台播放音乐的功能,当然前提是安装了audacious。

代码:

import os

os.system(\'audacious -p &\')

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-12-05
  • 2021-11-10
  • 2021-11-18
  • 2021-12-27
  • 2021-11-05
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-05-01
  • 2021-12-27
  • 2022-02-16
相关资源
相似解决方案