Horje
get text from url python last slash Code Example
get text from url python last slash
#From stacoverflow:
url = 'http://www.test.com/TEST1'
last = url.rsplit('/', 1)[-1]
print(last) #TEST1




Python

Related
How to use PatBlt in Python Code Example How to use PatBlt in Python Code Example
python program to keep your computer awake Code Example python program to keep your computer awake Code Example
pyqt5 set window icon Code Example pyqt5 set window icon Code Example
python define 2d table Code Example python define 2d table Code Example
How do I mock an uploaded file in django? Code Example How do I mock an uploaded file in django? Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8