Python functions code style refactoring
Add perl universal printing to files