Simplify the codeline and support user define format
rewrite the codeline with python