Ion Cebotari added the comment:
Yes, the problem seems to be with sys.argv.:
Windows output:
python .\main.py -d Z:\tmp\test\DJI\ 'C:\unu doi\'
sys.argv:
['.\\CamCardOrganizer.py', '-d', 'Z:\\tmp\\test\\DJI\\', 'C:\\unu doi"']
args namespace:
Namespace(capturedatefmt='%y.
New submission from Ion Cebotari :
I have this code for a tool that copies files from one directory to another:
parser = argparse.ArgumentParser()
parser.add_argument('src_dir')
parser.add_argument('dest_dir')
args = parser.parse_args()
It works fine on Unix, but on Windows