Can we upload user home directory file using python script

HI All,

I generated new file at user home directory using python script. So, is there any way to upload a file(user home directory) into ERPNext web(Home/Attachments) using python.

Thanks,
Ragh.

Any help?

What I suggest is search on ‘Ben_Cornwell_Mott upload file’