def ShellQuote(value):
 return pipes.quote(SmartUnicode(value))

def ShellQuote ( value ) : return pipes . quote ( SmartUnicode ( value ) )
escapes the string for the safe use inside shell command line .