1
Using the function mkdir it is possible to create a file in any directory inside the folders of the computer:
Import os
diretorio = "C:\\Users\\CRIACAO 2\\Desktop\\teste"
os.mkdir(diretorio)
But when I try to create it inside the address of a server, the program is not able to find the indicated path:
Import os
diretorio = "\\servidor\ARABRINDES 1TB\Artes"
os.mkdir(diretorio)
Filenotfounderror: [Winerror 3] The system cannot find the specified path: 'ARABRINDES 1TB Arts server Andrei'
How can I solve this problem?
Thank you very much! The mistake was exactly that and I managed to solve it.
– Andrei Savi