Python Uzyskaj nazwę pliku bez Dir
>>> os.path.basename('/path_name/1.log,/path_name/2.log')
'2.log'
Concerned Curlew
>>> os.path.basename('/path_name/1.log,/path_name/2.log')
'2.log'