Answers for "python get file name without dir"

0

python get file name without dir

>>> os.path.basename('/path_name/1.log,/path_name/2.log')
'2.log'
Posted by: Guest on October-18-2021

Code answers related to "python get file name without dir"

Python Answers by Framework

Browse Popular Code Answers by Language