If I run this below I am shown the return straight away on screen
#!/usr/bin/python3
import os
myVar = os.system('echo, Hello')
Hello
How do I stop it being shown but save the result for use later?
I expected to be able to print the results using print (("%s")% myVar)
but that just returns 0