I'm starting out learning python and have been looking around and saw the thread on printing a line that starts with a specific word, I would like to create something similar except take numbers out of text and print them so I can graph them. So far I've written some calculators and a program that links to other programs through a menu.
Example: 64 bytes from 18.104.22.168: icmp_seq=0 ttl=46 time=736.635 ms
(22.214.171.124 is Google if anyone is curious.)
I want to take this string and strip it of everything except 736.635. This is only something to try to learn more about Python and improve my skills, I'm happy to read any resources anyone might have. The Idea behind this is so i can plot my Ping time using a spreadsheet graph because it varies so much and I'm curious as to how it changes from hour to hour time however, isn't important for now.
Would anyone happen to have any resources, links, code examples or something I can look at to get an idea of how to start this project? (I did a search on the forum as well)
Thanks for your time and I look forward to hearing your response.
Edited 6 Years Ago by Bombshock: n/a