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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started