🌐
GeeksforGeeks
geeksforgeeks.org › python › currency-converter-in-python
Currency Converter in Python - GeeksforGeeks
November 3, 2025 - Using Tkinter + forex_python for a GUI-based converter · This method requires forex API keys. Get you own API key from here. Install requests module to handle API calls using the following command: ... import requests class CurrencyConverter: def __init__(self, url): # Fetching real-time data from the API data = requests.get(url).json() self.rates = data["rates"] def convert(self, from_currency, to_currency, amount): """Convert amount from one currency to another.""" initial_amount = amount # Convert from non-EUR currency to EUR first if from_currency != 'EUR': amount = amount / self.rates[fr
🌐
W3Schools
w3schools.in › python › examples › real-time-currency-converter
Real Time Currency Converter in Python - W3schools
It will ask you to input the amount and the currency codes you want to convert. ... from forex_python.converter import CurrencyRates cr = CurrencyRates() amount = int(input("Please enter the amount you want to convert: ")) from_currency = input("Please enter the currency code that has to be converted: ").upper() to_currency = input("Please enter the currency code to convert: ").upper() print("You are converting", amount, from_currency, "to", to_currency,".") output = cr.convert(from_currency, to_currency, amount) print("The converted rate is:", output)
🌐
The Python Code
thepythoncode.com › article › make-a-currency-converter-in-python
How to Make a Currency Converter in Python - The Python Code
It is a simple and lightweight API for real-time and historical foreign exchange rates. You can easily create an account and get the API key. After you've done that, you can use the /convert endpoint to convert from one currency to another.
🌐
DataFlair
data-flair.training › blogs › currency-converter-python
Currency Converter - Python Project with Source Code - DataFlair
August 3, 2021 - So we need to import the library. import requests from tkinter import * import tkinter as tk from tkinter import ttk · Now we will create the CurrencyConverter class which will get the real-time exchange rate and convert the currency and return ...
🌐
GitHub
github.com › prathmeshborate › CurrencyConverter
GitHub - prathmeshborate/CurrencyConverter: CurrencyConverter is a Python project using the CurrencyConverter package for real-time currency conversion. · GitHub
CurrencyConverter is a Python project using the CurrencyConverter package for real-time currency conversion. - prathmeshborate/CurrencyConverter
Starred by 3 users
Forked by 2 users
Languages   Python
🌐
GitHub
github.com › ziauldin123 › Real-Time-Currency-Converter-Python-Tkinter-App
GitHub - ziauldin123/Real-Time-Currency-Converter-Python-Tkinter-App: A Python-based real-time currency converter app using Tkinter for the GUI and ExchangeRate-API for fetching live exchange rates. Supports dynamic currency selection and conversion.
A Python-based real-time currency converter app using Tkinter for the GUI and ExchangeRate-API for fetching live exchange rates. Supports dynamic currency selection and conversion. - ziauldin123/Real-Time-Currency-Converter-Python-Tkinter-App
Author   ziauldin123
🌐
YouTube
youtube.com › watch
How to Build a Currency Converter in Python | Real-Time Rates Using API or GUI with Tkinter - YouTube
Want to convert currencies using Python? In this beginner-friendly tutorial, you’ll learn how to build a currency converter in Python — using real-time excha...
Published   July 27, 2025
Find elsewhere
🌐
Bytescrum
blog.bytescrum.com › how-to-create-a-real-time-currency-converter-using-python
How to Create a Real-Time Currency Converter Using Python
August 23, 2024 - To get started, you need to have Python installed on your system. Additionally, we'll use the requests library to fetch live exchange rates from an API. Install the requests library if you haven't already: ... There are several APIs available for fetching real-time exchange rates. For this guide, we'll use the ExchangeRate-API or OpenExchangeRates as they offer a free tier for basic currency conversion needs.
🌐
PyPI
pypi.org › project › CurrencyConverter
CurrencyConverter · PyPI
A currency converter using the European Central Bank data.
      » pip install CurrencyConverter
    
Published   Jul 08, 2026
Version   0.18.20
🌐
TutorialsPoint
tutorialspoint.com › article › real-time-currency-converter-using-python-tkinter
Real time currency converter using Python Tkinter
March 27, 2026 - Step 3 ? Invoke the get() method to obtain the amount, base_currency and target _currency from the user. Step 4 ? Get real-time trade rates. Step 5 ? Set the labels on the window and at last run the application. import tkinter as tk import requests def convert_currency(): amount = float(entry.get()) base_currency = base_currency_var.get() target_currency = target_currency_var.get() response = requests.get(f"https://api.exchangerate-api.com/v4/latest/{base_currency}") data = response.json() conversion_rate = data['rates'][target_currency] converted_amount = amount * conversion_rate result_label
🌐
TechVidvan
techvidvan.com › tutorials › python-currency-converter
Real-time Currency Converter with Python - TechVidvan
June 9, 2021 - It is generally a function with no parameters, but to set the command to a function with arguments, you have to use the lambda keyword. In the last line of the Conversion function, we had to convert the type of res[‘conversion_result’] because the StringVar object only accepts string type variables to be set as values, but res-conversion_result value was actually a floating point object. We have finally created our own python currency converter using only a few lines of codes!
🌐
PyScript Academy
pythonscripting.hashnode.dev › building-a-currency-converter-in-python-with-real-time-exchange-rates
Building a Currency Converter in Python (with Real-Time Exchange Rates
May 13, 2025 - The API returns real-time exchange rates in JSON format. We extract the specific rate for the target currency. Multiply the rate by the amount to get the converted value. The function also handles possible errors, such as invalid currency codes or network issues. Let’s now build a simple interface to let the user enter the base currency, target currency, and the amount to convert.
🌐
TraderMade
tradermade.com › tutorials › build-your-first-currency-converter-app
Build Your First Currency Converter in Python
May 16, 2024 - Build your own Currency Converter App using just Python and Streamlit. Get live currency conversion rates for free with no delay!
🌐
edSlash
edslash.com › home › python projects › currency converter with gui using python
Currency Converter with GUI using Python - edSlash
April 24, 2025 - The Real-Time Currency Converter is a Python application that allows users to convert amounts from one currency to another using real-time exchange rates. The application features a graphical user interface (GUI) built with tkinter, and it fetches current exchange rates using an API.
🌐
Project Gurukul
projectgurukul.org › home › real-time python currency converter
Real-time Python Currency Converter - Project Gurukul
February 6, 2023 - Create Currency Converter Project in Python using Tkinter module and Forex_Python.conversion for real-time currency conversion.
🌐
Scilit
scilit.com › publications › c9f472eda61719634ddcedf75de0e7d8
Online Currency Converter Using Python and Real-Time ...
April 30, 2026 - <iframe style="border: none; height: 100%; width: 100%;" src=""></iframe> · Powered and protected by · Privacy
🌐
Python GUIs
pythonguis.com › examples › building a currency converter application using tkinter
Build a Currency Converter in Python with Tkinter — Step by Step
March 29, 2026 - $ mkdir currency_converter/ $ cd currency_converter $ python -m venv venv $ source venv/bin/activate (venv)$ pip install requests · We will use the free Exchange Rate API to access real-time exchange rate data.