Posts

Showing posts from February, 2025

🔊 AI-Powered Text-to-Speech Converter in Python – Convert Text to Voice!

Image
   Demo : Click Video 👇👇👇 Code :   import os import tkinter as tk from tkinter import filedialog, messagebox from gtts import gTTS # Function to convert text to speech def text_to_speech():     text = text_entry.get("1.0", tk.END).strip()     if not text:         messagebox.showerror("Error", "Please enter text!")         return     try:         tts = gTTS(text=text, lang='en')         file_path = filedialog.asksaveasfilename(defaultextension=".mp3",                                                  filetypes=[("MP3 files", "*.mp3")])         if file_path:             tts.save(file_path)             messagebox.showinfo("Success", "Speech saved successfully...

AI Se Blog Likho! Python Tkinter AI Content Generator Software Free

Image
  Demo : Click Video 👇👇👇 Code :   import openai import tkinter as tk from tkinter import scrolledtext, messagebox # OpenAI API Key (Replace with your own) openai.api_key = "YOUR_OPENAI_API_KEY" # Function to generate AI content def generate_content():     topic = entry_topic.get()     if not topic:         messagebox.showerror("Error", "Please enter a topic!")         return          try:         prompt = f"Write a blog post about {topic} in simple words."         response = openai.ChatCompletion.create(             model="gpt-3.5-turbo",             messages=[{"role": "user", "content": prompt}]         )         content = response["choices"][0]["message"]["content"]                  # Display content i...

Modern To-Do List App using Python Tkinter

Image
   Demo : Click Video 👇👇👇 Code : import tkinter as tk from tkinter import messagebox import json class TodoApp:     def __init__(self, root):         self.root = root         self.root.title("Modern To-Do List - Developed By Fuzail Developer")         self.root.geometry("400x500")         self.root.config(bg="#2c3e50")         self.tasks = []         self.load_tasks()         tk.Label(root, text="📝 To-Do List", font=("Arial", 20, "bold"), bg="#2c3e50", fg="white").pack(pady=10)         entry_frame = tk.Frame(root, bg="#2c3e50")         entry_frame.pack(pady=10)                  self.task_entry = tk.Entry(entry_frame, font=("Arial", 14), width=20)         self.task_entry.grid(row=0, column=0, padx=10)     ...

Python Voice Assistant App

Image
  Demo : Click Video 👇👇👇 Code :   import speech_recognition as sr import pyttsx3 import datetime import webbrowser import os # Initialize the recognizer and TTS engine recognizer = sr.Recognizer() engine = pyttsx3.init() def speak(text):     engine.say(text)     engine.runAndWait() def greet():     hour = datetime.datetime.now().hour     if 0 <= hour < 12:         speak("Good morning!")     elif 12 <= hour < 18:         speak("Good afternoon!")     else:         speak("Good evening!")     speak("I am your Voice Assistant. How can I help you today?") def listen():     with sr.Microphone() as source:         print("Listening...")         recognizer.adjust_for_ambient_noise(source)         audio = recognizer.listen(source)         try:   ...

Project Title: Modern Age Calculator Using Python 🕒

Image
Demo : Click Video 👇👇👇 Code :   import tkinter as tk from tkinter import messagebox from datetime import datetime def calculate_age():     dob_str = dob_entry.get()     try:         dob = datetime.strptime(dob_str, '%d-%m-%Y')         today = datetime.today()         years = today.year - dob.year         months = today.month - dob.month         days = today.day - dob.day         if days < 0:             months -= 1             days += (datetime(today.year, today.month, 1) - datetime(today.year, today.month - 1, 1)).days         if months < 0:             years -= 1             months += 12         result_label.config(text=f"Your Age: {years} Years, {months} Months, {days} D...

Modern Weather App Using HTML, CSS & JavaScript (With API Integration)

Image
Demo : Click Video 👇👇👇 Code :   <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, initial-scale=1.0">   <title>Modern Weather App - FuzzuTech</title>   <style>     body { font-family: Arial, background: #282c34; color: white; text-align: center; padding: 20px; }     .weather-card { background: #3c4048; padding: 20px; border-radius: 15px; max-width: 400px; margin: auto; }     input { padding: 10px; width: 80%; border-radius: 10px; margin-bottom: 10px; }     button { padding: 10px 20px; background: #61dafb; border: none; border-radius: 10px; cursor: pointer; }   </style> </head> <body>   <h1>🌦️ Weather App - FuzzuTech</h1>   <div class="weather-card">     <input type="text" id="city" placeholder="Enter City Name">     <butt...