Handling European currencies

For example, ‘15,99 EUR’

See whether you have the right locale installed. $ locale -a

If not $ sudo apt-get install language-pack-es $ sudo dpkg-reconfigure locales

And then in the code, you can do this import locale myprice = unicode(locale.atof(myprice))