Creation of folder to upload documents

hello, Somme one nkow how can I create a folder to management Document

For Exemple path like: Site1/Building/Zone2/Device1
on folder I can upload files like pdf, excel, images

The script below should work for you, just be aware that the results will vary depending on if you run this in a gateway scope or a client scope. In a gateway scope, the directory will be created on the gateway computer not the client computer and vice versa.

import os
os.mkdir('C:/Site1/Building/Zone2/Device1')