Coders Packet

Real-Time Currency Converter in Python

By Harsh Shailesh Bhandari

This Python Code acts as a Real-Time Currency Converter using Tkinter, enabling the user to keep track of changes in the market values.

The following Python Code allows the user to convert one currency to another. The input and output values can be decided as per the user's requirement.

This package allows the user to select between a wide variety of currencies to take as input as well as convert to another. We will be using currency_exchange_rate api, which can return the real-time exchange rate for any pair of digital currency (e.g., Bitcoin) or physical currency (e.g., INR, USD).

When the code is executed, the user will be given choices to select input and output currencies from. The user should click on the Convert Button to convert his/her input. The code will keep running until the user wants it to stop.

The User won't be able to make any entries except Numbers, completely eliminating the personal error factor.

Foreign exchange is the trading of different national currencies or units of account. It is important because the exchange rate, the price of one currency in terms of another, helps to determine a nation's economic health and hence the well-being of all the people residing in it.

The Output will appear as a GUI in Tkinter.

Requests and JSON are the necessary pre-requisite modules required to implement this code. However, both of these modules come built-in within python.

Therefore, any external installation of modules is unnecessary.

Download Complete Code


No comments yet