remove fomrat.py file

rename format.py to post_format.py and revise the script to use strip.