this is what I have try to do:
from pathlib import Path Test_Path = Path("C:\\Test\\") for file in Test_Path: print(file)but I get TypeError:
for file in Test_Path: TypeError: 'WindowsPath' object is not iterableand if I can't even print it - I guess I will have problem working with him for FTP uplaod