Nov-20-2020, 02:47 PM
Your ideas makes me to do something like this:
the problem I stuck for now is how to get it "dynamic" on gui screen ?
def ping_screen(): ping_command = 'ping -c 5 google.com'.split() proc = subprocess.run(ping_command, capture_output=True, text=True) ekran.insert("end", proc.stdout + "\n") def ping_google(): # Wypisuje w polu tekstowym ping z Google.com czysc_ekran() ping_screen()About the results of ping I got them after it ends pinging . So for now there is -c added to get answer quickly.
the problem I stuck for now is how to get it "dynamic" on gui screen ?