Question: How do we ask a filename to save the results? 2. If we have an existing file and needs to modify that file, how can
How do we ask a filename to save the results?
2. If we have an existing file and needs to modify that file, how can we write the file with an entry that has the timestamp,
3. When the script begins pinging and display the timestamp to the screen.
if we are pinging a given file anytime how it looks like when the ping fails on python and how can I write to the file anytime a ping fails.
4. if someone is asking an entry that has the time stamp every time a ping fails what will be the python code looks like?
5. How do we use a CLI to verify that you can test IP addresses/sites to obtain successful and unsuccessful pings?
Step by Step Solution
3.40 Rating (150 Votes )
There are 3 Steps involved in it
It seems like youre interested in performing tasks related to file handling and network pinging in Python Lets address your questions one by one 1 Ask... View full answer
Get step-by-step solutions from verified subject matter experts
