import os whoami = os.system("whoami") print("something here" + whoami + "something here") I want to print the output of whoami but it returns an error. Continue reading...