How to filter only printable characters in a file on Bash (linux) or Python?,print('\n'.join(lines))