examples of remote upload for python