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)
Videos
Build a Currency Converter in Python | Real-Time Exchange ...
12:55
Real-Time Currency Converter in Python - YouTube
04:39
Real-Time Currency Converter using Python - YouTube
10:53
How to Build a Currency Converter in Python | Beginner Python Project ...
Integrate Currency Converter API in Python in Minutes!
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
GitHub
github.com › adarshkeshri › Currency-Converter
GitHub - adarshkeshri/Currency-Converter: The Currency Converter in Python is a user-friendly program for real-time currency conversion. With a graphical interface, users can select source and target currencies, input an amount, and get instant conversions. Powered by the exchangerate-api.com API, it simplifies international currency exchange. · GitHub
Welcome to the Currency Converter project! This is a simple Python program that allows you to convert currency values in real-time using exchange rate data from the exchangerate-api.com API.
Author adarshkeshri
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
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
» pip install CurrencyConverter
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.
GitHub
github.com › deepankarvarma › Currency-Converter-Using-Python
GitHub - deepankarvarma/Currency-Converter-Using-Python: This is a Python app built using the Streamlit library and the forex-python package for currency conversion. The app provides a user-friendly interface to convert an amount from one currency to another. Users can input the amount, select the currency to convert from & the currency to convert to, then click on the 'Convert' button to get the amount. · GitHub
This is a simple currency converter app built using Python and Streamlit. It allows you to convert from one currency to another with real-time exchange rates.
Forked by 2 users
Languages Python
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.
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.