Question: I need to create a conditional statement i.e. if else, for, while in python. Here WE ARE WORKING WITH SOURCE AND DESTINATION FOLDERS. We are

I need to create a conditional statement i.e. if else, for, while in python. Here WE ARE WORKING WITH SOURCE AND DESTINATION FOLDERS. We are copying files from the source to the Destination folder.

Now heres the format of the source files Source files Destination file Water.img Water_12-19-2022_145944.img Water.doc Water.frm Water.pdf Ok heres what we have 6 source locations and 6 Destination locations see below Source Destination G:/XEROX_2022/Water.img G:/Backupfiles_XEROX_2022/ Water_12-19-2022_145944.img G:/XEROX_2022/Water.doc G:/Backupfiles_XEROX_2022/ Water_12-19-2022_145944.doc I do not want to write each Source and Destination locations in my python script . Id like to use a conditional statement, i.e. for, while, . CAN YOU ASSIST???

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!