Real-time Currency Converter Using Python

Jayeeta Mondal
2 min readNov 17, 2021

A currency converter helps to convert one currency into another. Forex_python module works on real-time conversion rates. That means it shows real-time converted amount based on real time exchange rates. So in this article you will learn how to create real time currency converter by using python forex_python module.

Forex_Python is a Free Foreign exchange rates and currency converter. It’s features include: List all currency rates. BitCoin price for all curuncies, convert amount to BitCoins etc.

To convert one currency to another we need to take user input of, from & to which currency we want to convert. After conversion we get amount at real time conversion rate. We also have to take input of amount which you want to convert.

So first we need to install the package using pip command.

pip install forex_python

Then you need to write the below program to create real time currency converter.

The output should be like this.

So this is how you can create real time currency converter using Python programming language.

I hope you liked this article & learn something new. If you have any question feel free to ask in the comment section below.

--

--

Jayeeta Mondal

Data Scientist || Freelancer || Open Source Contributor