Posts

Showing posts with the label #Python #ClickCounter #GUI #CustomTkinter #PythonProject #Coding #LearnToCode #Tkinter #ModernUI #FuzzuTech

🎤 Build an AI Voice Assistant in Python | Speech Recognition & Wikipedia Search

Image
Demo : Click Video ðŸ‘‡ðŸ‘‡ðŸ‘‡ 🔹 Features: ✅ Converts Speech to Text ✅ Wikipedia Search Integration ✅ Opens Websites with Commands ✅ Tkinter GUI for Easy Interaction Code : import speech_recognition as sr import pyttsx3 import wikipedia import webbrowser import os import tkinter as tk from tkinter import ttk from PIL import Image, ImageTk # Initialize Speech Engine engine = pyttsx3.init() engine.setProperty("rate", 150) def speak(text):     engine.say(text)     engine.runAndWait() def take_command():     r = sr.Recognizer()     with sr.Microphone() as source:         status_label.config(text="Listening...")         root.update()         try:             audio = r.listen(source, timeout=5)             query = r.recognize_google(audio, language="en-in")             status_label.config(text=f"You s...

🚀 Modern Click Counter App in Python | Stylish GUI with CustomTkinter 🎯

Image
  Demo : Click Video ðŸ‘‡ðŸ‘‡ðŸ‘‡ Code : import tkinter as tk import customtkinter as ctk  # Modern UI from PIL import Image, ImageTk # Initialize App ctk.set_appearance_mode("dark") ctk.set_default_color_theme("blue") root = ctk.CTk() root.title("Modern Click Counter") root.geometry("400x500") count = 0  # Click counter variable # Function to increase count def increase_count():     global count     count += 1     label.configure(text=f"Count: {count}") # Function to reset count def reset_count():     global count     count = 0     label.configure(text="Count: 0") # Heading Label title = ctk.CTkLabel(root, text="Modern Click Counter", font=("Arial", 20, "bold")) title.pack(pady=10) # Display Counter label = ctk.CTkLabel(root, text="Count: 0", font=("Arial", 18)) label.pack(pady=20) # Load Image (Handling File Not Found Error) try:     img = Image.open("counter.png")  # Mak...