IN PYTHON please, Attached to the assignment is a test file: lesson4_folderexample.txt Download lesson4_folderexample.txt - External clients have added spaces throughout the folder names by: internal workflow conflict, user mistake, etc - We determined the only issue is that there are spaces, but need to confirm which folders - Write a script that removed all spaces, reports the fixed string, and reports on console which ones needed fixing and which were fine. ..................................................................................................................................................................................................................... This is inside the txt file: /offsideStorage1/production/star wars/reel1/partA/1920x1080 /offsideStorage4/production/starwars/reel - - 1/VFX/Hydraulx /offsideStorage1/production/starwars/reel1/partB/pickups/1920x1080 /offsideStorage1/production/starwars/reel1/VFX/ Framestore /offsideStorage3/production/starwars/reel1/ VFX /AnimalLogic /offsideStorage1/production/starwars/reel1/partB/1920x1080 /offsideStorage2/production/starwars/pickups/shot_1ab/1920 x 1080
IN PYTHON please,
Attached to the assignment is a test file: lesson4_folderexample.txt Download lesson4_folderexample.txt
-
External clients have added spaces throughout the folder names by: internal
workflow conflict, user mistake, etc
-
We determined the only issue is that there are spaces, but need to confirm which
folders
-
Write a script that removed all spaces, reports the fixed string, and reports on console which ones needed fixing and which were fine.
.....................................................................................................................................................................................................................
This is inside the txt file:
/offsideStorage1/production/star wars/reel1/partA/1920x1080
/offsideStorage4/production/starwars/reel - - 1/VFX/Hydraulx
/offsideStorage1/production/starwars/reel1/partB/pickups/1920x1080
/offsideStorage1/production/starwars/reel1/VFX/ Framestore
/offsideStorage3/production/starwars/reel1/ VFX /AnimalLogic
/offsideStorage1/production/starwars/reel1/partB/1920x1080
/offsideStorage2/production/starwars/pickups/shot_1ab/1920 x 1080

Trending now
This is a popular solution!
Step by step
Solved in 3 steps









