im not sure if this is supposed to be simple or really complicated or if its possible (really hope so),
but i want to be able to send out a command to the terminal from python which i can do like so.
import os
os.system("clear")
os.system("amixer get Master")
when running this in terminal the terminal come's up with this.
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 42 [48%] [-33.75dB] [on]
jordiston@JordistonUbuntu:~$
In bash I can easily save this to a string, but is their anyway for python?
Bookmarks