1 2 3 4 5 6 7 8
def shell_escape(string): return str(string).replace("'", "\\\\'") def dashify(string): return string.replace('_', '-') def touch(filename): open(filename, "a").close()