Python making cmd invisible when using the os.system -


i found out ping system on python typing

os.system('ping ip') 

but when execute it, shows cmd.
question is, how ping on python without showing cmd?

if need ping, better use ping.py.

in other cases use subprocess suggested @sentinel


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -