yeah I get this error:
Traceback (most recent call last):
File "CopySlides.py", line 14, in <module>
shutil.copyfile(dst, file)
File "C:\Users\mcesm\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 238, in copyfile
if _samefile(src, dst):
File "C:\Users\mcesm\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 217, in _samefile
return os.path.samefile(src, dst)
File "C:\Users\mcesm\AppData\Local\Programs\Python\Python38\lib\genericpath.py", line 100, in samefile
s1 = os.stat(f1)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not builtin_function_or_method
when i run the code with #shutil.copyfile(dst, file) (out of the code) it prints everything with no errors
Traceback (most recent call last):
File "CopySlides.py", line 14, in <module>
shutil.copyfile(dst, file)
File "C:\Users\mcesm\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 238, in copyfile
if _samefile(src, dst):
File "C:\Users\mcesm\AppData\Local\Programs\Python\Python38\lib\shutil.py", line 217, in _samefile
return os.path.samefile(src, dst)
File "C:\Users\mcesm\AppData\Local\Programs\Python\Python38\lib\genericpath.py", line 100, in samefile
s1 = os.stat(f1)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not builtin_function_or_method
when i run the code with #shutil.copyfile(dst, file) (out of the code) it prints everything with no errors