Skip to content
Advertisement

I get the error :[WinError 2] The system cannot find the file specified:

this code moves all pdf files into a folder called pdf.It moves the first file then get error for moved file: [WinError 2] The system cannot find the file specified: ‘C:UsersfarbodDesktopPrint Form.pdf’ -> ‘C:/Users/farbod/Desktop/pdf/Print Form.pdf’ note: I also used shutil instead of pathlib.Same error

JavaScript

Advertisement

Answer

fixed and working code.Thank you Mr. Ghost Ops

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement