Home /
Expert Answers /
Computer Science /
python-please-nbsp-a-photographer-is-organizing-a-photo-collection-about-the-national-parks-in-the-pa581
(Solved): python please! A photographer is organizing a photo collection about the national parks in the ...
python please!
A photographer is organizing a photo collection about the national parks in the US and would like to annotate the information about each of the photosinto a separate set of files. Write a program that reads the name of a text file containing a list of photo file names. The program then reads the photo file names from the text file, replaces the "_photojpg' portion of the file names with "info txt", and outputs the modified file names. See Section 2.4.5 as a reminder-about , replace() method. Assume the unchanged portion of the photo file names contains only lefters and numbers, and the text file stores one photo file name per line. If the text file is empty, the program produces no output. Ex if the input of the oroaram is