code: def copy_from_local(self, localsrc, dest, **kwargs):
          
          with io.open(localsrc, 'rb') as f:
              self.create(dest, f, **kwargs)
docs: Copy a single file from the local file system to ``dest``
  
          Takes all arguments that :py:meth:`create` takes.