1. Write a program that reads a text file and creates another file that is identical except that every sequence of consecutive blank spaces is replaced by a single space. sa 12 ip chapter 5 / PythonCSIP CS IP 1. Write a program that reads a text file and creates another file that is identical except that every sequence of consecutive blank spaces is replaced by a single space. Read More »
2. A file sports.dat contains information in following format : Event ~ Participant Write a function that would read contents from file sports.dat and creates a file named Atheletic.dat copying only those records from sports.dat where the event name is “Atheletics”. sa 12 cs chapter 5 / PythonCSIP CS IP 2. A file sports.dat contains information in following format : Event ~ Participant Write a function that would read contents from file sports.dat and creates a file named Atheletic.dat copying only those records from sports.dat where the event name is “Atheletics”. Read More »