#NEWLINE# def remote_rm( dst_ssh , dst_path ) : #NEWLINE# #INDENT# 'Remove file or folder remotely by using ssh\n\n    :param dst_ssh: str -- user name and host name of destination path\n                           just like: user@host\n    :param dst_path: str -- destination path\n    :return: None\n    ' #NEWLINE# dst_command = '"rm -rf {}"' . format ( dst_path ) #NEWLINE# command = ( ( ( 'ssh ' + dst_ssh ) + ' ' ) + dst_command ) #NEWLINE# os . popen ( command )