use strip() iso. slicing for removing \n
treed3ec792ee10478b3a4e2f7e56b6fe5c59e826725
drwxr-xr-x - contrib