This repository contains projects developed during the CodexCue Python Development Internship program. The projects cover various Python applications, including URL shortening, a Pygame music player, a plagiarism checker, and a voice assistant.
A basic calculator application built using Python's tkinter library. This project provides a simple graphical user interface (GUI) to perform basic arithmetic operations.
-
Perform addition, subtraction, multiplication, and division.
-
Clear input and output fields.
-
User-friendly interface with buttons for digits and operations.
- Run the script calculator.py.
- Use the on-screen buttons to enter numbers and select operations.
- The result will be displayed on the output screen.
A simple URL shortener built using Python. This application generates a short URL corresponding to a long URL and allows retrieval of the original URL using the short version.
- Generate short URLs.
- Retrieve the original URL using the short URL.
- Open the URL directly in a web browser.
- Run the script
url_shortener.py
. - Enter the URL to shorten.
- Retrieve the original URL using the generated short URL.
A music player application using Python's pygame
library. It allows users to play .mp3
and .wav
files, with controls to pause, resume, stop, and change songs.
- List available music files from a specified directory.
- Select and play songs.
- Control playback (pause, resume, stop, change song).
- Ensure your music files are located in the specified directory (default is
H:\music
). - Run the script
music_player.py
. - Follow the on-screen instructions to select and control music playback.
A tool to detect plagiarism by comparing text documents for similarities. It uses the Natural Language Toolkit (NLTK) for natural language processing.
- Load and compare two text documents.
- Identify the percentage of similarity between the two texts.
- Exclude common stopwords from the comparison.
- Run the script
plagiarism_checker.py
. - Load two text files to compare.
- The similarity percentage will be displayed on the screen.
A voice-controlled personal assistant developed using Python. It leverages speech recognition libraries like SpeechRecognition
and text-to-speech libraries like pyttsx3
.
- Voice-controlled interaction.
- Tells the current time.
- Opens Google and performs other tasks based on voice commands.
- Run the script
voice_assistant.py
. - Use voice commands to interact with the assistant.
- Python 3.x
- Required Python libraries:
pygame
speech_recognition
pyttsx3
nltk
tkinter
-
Clone the repository:
git clone https://github.com/yourusername/your-repository-name.git cd your-repository-name
-
Install the required libraries:
pip install pygame speechrecognition pyttsx3 nltk
Run the desired project script as mentioned in each project's usage section.