简体   繁体   中英

Can I run other programs with Python?

Let me be more specific.

I want to create a series of audiofiles, each containing a range of frequencies. That is done most easily with Audacity, but it would take forever to do it manually since there are a lot of frequencies to deal with. So the question is:

Can I make a script that will open Audacity, press all the required buttons within the program and fill in the necessary values, and then save the files?

If that's also confusing, can I use Python to make a script that will move the cursor to a specific location, order it "to click" something?

I would check out Audacity's scripting wiki . Once you get that up and running you can use the subprocess module to call external commands via python.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM