0
How can I connect an input to a command with the subprocess library?
How can I connect an input to a command with the subprocess library? For example: ping: İmport subprocess İmport socket X = input("enter your URL : ") Y = subprocess.getoutput("ping") Print(x,y) Please correct my problem in this code❤️
1 Respuesta
0
Can you please elaborate your question more.