I want to get only the numbers from a string. For example I have something like this
just=\'Standard Price:20000\'
And I only want it to pr
you can use regex:
import re just = 'Standard Price:20000' price = re.findall("\d+", just)[0]
OR
price = just.split(":")[1]