Get only numbers from string in python
You can also try:
int(''.join(i for i in just if i.isdigit()))
you can use regex:
import re
just = 'Standard Price:20000'
price = re.findall("\d+", just)[0]
OR
price = just.split(":")[1]
You can also try:
int(''.join(i for i in just if i.isdigit()))
you can use regex:
import re
just = 'Standard Price:20000'
price = re.findall("\d+", just)[0]
OR
price = just.split(":")[1]