Character Purifier

Home --> Useful Scripts --> Character Purifier

The Script

The script purify.py.txt replaces all tab characters with 4 space characters.

It also removes all '\r' characters (in all files ending with .h, .cpp, or .py in the current working directory and all subdirectories).

It also removes all files ending with ~ in the current working directory and all subdirectories.

Use at your own risk.

To run the script, remove the .txt extension and enter the following command:
python purify.py