Python获取图片、文件路径中的名称
super
2022-12-15 00:06

Python获取图片、文件路径中的名称
img = 'https://rongsp.com/static/super/images/logo.png'
img_info_array = img.split("/")
print(img_info_array[-1])
# logo.png

0 条讨论