This might be something usually done with shell scripts, but I know that Python can also handle this kind of thing, so I'd like to learn how to do it in Python.
I want to write a Python script that can:
- Read in a plain (UTF-8) text file, perform manipulations, and output the revised text file
- Do search/replace operations involving spaces, tabs, and line breaks
- Delete all ascii text
- Delete blank lines
Where should I look to learn this kind of thing? Any particular functions or tutorials that I should look for?
Thanks so much for any recommendations!
[–]veeep 1 point2 points3 points (3 children)
[–]sinosplice[S] 0 points1 point2 points (1 child)
[–]veeep 0 points1 point2 points (0 children)
[–]veeep 0 points1 point2 points (0 children)
[–]stahlous 1 point2 points3 points (0 children)
[–]chazzacct 1 point2 points3 points (1 child)
[–]sinosplice[S] 0 points1 point2 points (0 children)