@@ -0,0 +1,909 @@
+#!/usr/bin/env python%0A# coding:utf-8%0Aimport os%0Aimport argparse%0A%0A%0Aheader_msg = %7B%0A    'py': '#!/usr/bin/env python%5Cn# coding:utf-8%5Cn',%0A    'c': '#include %3Cstdio.h%3E%5Cn'%0A%7D%0A%0A%0Adef par():%0A    parser = argparse.ArgumentParser(%0A        description='A script for add script header message'%0A    )%0A    parser.add_argument('newfile')%0A    args = parser.parse_args()%0A    return args%0A%0A%0Adef file_exists(file_path):%0A    return True if os.path.exists(file_path) else False%0A%0A%0Adef main(args):%0A    file_path = os.getcwd() + '/' + args.newfile%0A    if file_exists(file_path):%0A        print('%5Ct%7B0%7D already exists...'.format(args.newfile))%0A    else:%0A        newfile_attrs = args.newfile.split('.')%0A        with open(args.newfile, 'w') as f:%0A            if (len(newfile_attrs) == 2) and (newfile_attrs%5B-1%5D in header_msg):%0A                f.write(header_msg%5Bnewfile_attrs%5B-1%5D%5D)%0A%0Aif __name__ == '__main__':%0A    args = par()%0A    main(args)%0A

fix atouch.py