bovenson

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

代码:

import os

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

分类:

技术点:

相关文章:

  • 2021-12-05
  • 2021-11-14
  • 2021-11-14
  • 2021-11-02
  • 2021-11-02
  • 2021-12-27
  • 2021-11-05
猜你喜欢
  • 2021-11-30
  • 2021-12-13
  • 2021-11-02
  • 2021-11-02
  • 2021-12-27
  • 2021-11-24
相关资源
相似解决方案