import subprocess subprocess.call('curl https://google.com',shell=True)
Standard input is empty
Standard output is empty
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: google.com