Question: Need help with a code using Python 3 for the following: You will be passed the filename P, firstname F, lastname L, and a new

Need help with a code using Python 3 for the following: You will be passed the filename P, firstname F, lastname L, and a new birthday B. Load the fixed length record file in P, search for F,L in the first and change birthday to B. Hint: Each record is at a fixed length of 16. Then save the file.

# Get the filepath from the command line import sys P= sys.argv[1] F= sys.argv[2] L= sys.argv[3] B= sys.argv[4]Cut

# Your Code Goes Here

Expected output: 

Adam Smith 11111985Theodore Anderson 03201990Monty Biscuit- Barrel 10181980Adam Smithers 00000000Ruthy Anderson 06062010

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!