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 › 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.
Author ziauldin123
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 that leverages the powerful CurrencyConverter package to provide real-time currency conversion capabilities. Say goodbye to manual currency calculations and complicated exchange rate lookups; with ...
Starred by 3 users
Forked by 2 users
Languages Python
PyPI
pypi.org › project › CurrencyConverter
CurrencyConverter · PyPI
It is compatible with Python3.9+. The default source is the European Central Bank. This is the ECB historical rates for 42 currencies against the Euro since 1999. It can be downloaded here: eurofxref-hist.zip. The converter can use different sources as long as the format is the same. Note that the currency converter does not query the API in real time, to avoid the overhead of the HTTP request.
» pip install CurrencyConverter
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
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
TutorialsPoint
tutorialspoint.com › real-time-currency-converter-using-python-tkinter
Real time currency converter using Python Tkinter
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
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
Wiingy
wiingy.com › home › learn › python › how to create a currency converter in python
How to Create a Currency Converter in Python? - Wiingy
January 30, 2025 - In this detailed guide, we will take you through the complete process of setting up your Python environment, understanding essential concepts like variables, functions, libraries, and APIs, and finally writing and deploying a currency converter python project. By the end of this tutorial, you’ll have a working currency converter that fetches real-time exchange rates and can convert between different currencies.
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.
PyPI
pypi.org › project › forex-python
forex-python
JavaScript is disabled in your browser. Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
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.