Question: Write a python script to do the following: You are given a text file like the one below Write a script to write how far
Write a python script to do the following:
You are given a text file like the one below
Write a script to write how far each of the columns are from the ref_counter and the time stamp for each one
For example:
3828073878-3436521991=391551887
Return: Bank706_MMCM Time: 20211201_014633 Difference: 391551887

time 20211201_014633 20211201_014634 20211201_014635 20211201_014636 20211201 014637 20211201 014638 20211201_014639 20211201_014640 20211201_014641 20211201_014642 20211201_014643 20211201_014644 20211201 014645 20211201 014646 20211201 014647 20211201_014648 20211201_014649 20211201_014650 20211201_014651 20211201_014652 20211201_014653 20211201_014654 20211201_014655 20211201 014656 20211201_014657 20211201_014658 20211201_014659 20211201_014700 20211201_014701 20211201_014702 20211201_014703 20211201 014704 20211201 014705 20211201_014706 Ref_counter Bank_706_MMCM Bank_706_DPLL Bank_706_XPLL Bank_707_MMCM Bank_707_DPLL Bank_707_XPLL 3,828,073,878 3,436,521,991 3,436,521,991 3,436,521,991 3,436,521,990 3,436,521,991 3,436,521,991 3,971,604,214 3,828,073,878 3,828,073,878 3,828,073,878 3,828,073,878 3,828,073,878 3,828,073,878 4,120,007,640 3,971,604, 215 3,971,604, 215 3,971,604,215 3,971,604,214 3,971,604,215 3,971,604,215 4,264,203,630 4,120,007,640 4,120,007,640 4,120,007,640 4,120,007,640 4,120,007,640 4,120,007,640 118,119,452 4,264,203,630 4,264,203,630 4,264,203,630 4,264,203,630 4,264,203,630 4,264,203,630 264,590, 399 118, 119,452 118, 119,452 118, 119,452 118, 119,452 118, 119,452 118, 119,452 411,434,504 264,590,399 264,590, 399 264,590,399 264,590,399 264,590, 399 264,590, 399 556,688,628 411,434,504 411,434,504 411,434,504 411,434,504 411,434,504 411,434,504 703,794,042 556,688,629 556,688,629 556,688,629 556,688,628 556,688,629 556,688,629 850, 373,532 703,794,043 703,794, 043 703,794,043 703,794,042 703,794,043 703,794,043 996, 889,371 850, 373,533 850, 373,533 850, 373,533 850, 373,532 850, 373,533 850, 373,533 1,146,194,336 996, 889,372 996, 889,372 996,889,372 996, 889,371 996,889,372 996,889,372 1,295,831,457 1,146,194,336 1,146,194,336 1,146,194,336 1,146,194,336 1,146,194,336 1,146,194,336 1,442,656,017 1,295,831,458 1,295,831,458 1,295,831,458 1,295,831,457 1,295,831,458 1,295,831,458 1,588,641,438 1,442,656,018 1,442,656,018 1,442,656,018 1,442,656,017 1,442,656,018 1,442,656,018 1,734,425,999 1,588,641,439 1,588,641,439 1,588,641,439 1,588,641,438 1,588,641,439 1,588,641,439 1,880,916,500 1,734,425,999 1,734,425,999 1,734,425,999 1,734,425,999 1,734,425,999 1,734,425,999 2,027,795,697 1,880,916,500 1,880,916,500 1,880,916,500 1,880,916,500 1,880,916,500 1,880,916,500 2,174,069,712 2,027,795,698 2,027,795,698 2,027,795,698 2,027,795,697 2,027,795,698 2,027,795,698 2,318,192,891 2,174,069,713 2,174,069,713 2,174,069,713 2,174,069,712 2,174,069,713 2,174,069,713 2,464,542,945 2,318,192,891 2,318,192,891 2,318,192,891 2,318,192,891 2,318,192,891 2,318,192,891 2,610,861,200 2,464,542,946 2,464,542,946 2,464,542,946 2,464,542,945 2,464,542,946 2,464,542,946 2,756,907,060 2,610,861,200 2,610,861,200 2,610,861,200 2,610,861,200 2,610,861,200 2,610,861,200 2,903,257,782 2,756,907,061 2,756,907,061 2,756,907,061 2,756,907,060 2,756,907,061 2,756,907,061 3,049,186,008 2,903, 257,783 2,903,257,783 2,903,257,783 2,903,257,782 2,903,257,783 2,903,257,783 3,192,898,400 3,049,186,009 3,049,186,009 3,049,186,009 3,049,186,008 3,049,186,009 3,049,186,009 3,337,581,248 3,192,898,400 3,192,898,400 3,192,898,400 3,192,898,400 3,192,898,400 3,192,898,400 3,483,688,190 3,337,581,248 3,337,581,248 3,337,581,248 3,337,581,248 3,337,581,248 3,337,581,248 3,627,526,058 3,483,688,190 3,483,688,190 3,483,688,190 3,483,688,190 3,483,688,190 3,483,688,190 3,776,116,007 3,627,526,058 3,627,526,058 3,627,526,058 3,627,526,058 3,627,526,058 3,627,526,058 3,921,968,213 3,776,116,007 3,776,116,007 3,776,116,007 3,776,116,007 3,776,116,007 3,776,116,007 4,067,899,689 3,921,968,213 3,921,968,213 3,921,968,213 3,921,968,213 3,921,968,213 3,921,968,213 4,213,926,731 4,067,899,690 4,067,899,690 4,067,899,690 4,067,899,689 4,067,899,690 4,067,899,690 62,716,000 4,213,926,731 4,213,926,731 4,213,926,731 4,213,926,731 4,213,926,731 4,213,926,731
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
