[SOLVED] copytree2 function
Published: Dec 13, 2019 - 10:50 AM
Good morning,
I would like the copytree2 function to overwrite files if the folder already exists; what value should be given to onreplace for this to work? "True" and "1" are not acceptable.
I would like the copytree2 function to overwrite files if the folder already exists; what value should be given to onreplace for this to work? "True" and "1" are not acceptable.
Code: Select all
copytree2(r'.\dir',destdir,onreplace=True)FATAL ERROR: TypeError: 'bool' object is not callable
Exit code: 3