I have a python list with strings in this format:
A1 = [\' \"29.0\" \',\' \"65.2\" \',\' \"75.2\" \']
How do I convert those strings into d
If you are converting price (in string) to decimal price then....
from decimal import Decimal price = "14000,45" price_in_decimal = Decimal(price.replace(',','.'))
No need for the replace if your strings already use dots as a decimal separator