python guys would rather say command = command[:-2]