Python得到一個url最後一個/後的字符串

1 #coding=utf-8
2  
3 url = '*******'
4 print url.split('/')[-1]

Python 2.7url

相關文章
相關標籤/搜索