Welcome to my collection of random Python projects! In this repository, I have experimented with various Python libraries and modules, including os, shutil, time, argparse, and more. Each project showcases different functionalities and use cases of these libraries.
Libraries Used: os, shutil
Description: This project is a simple file organizer that sorts files into respective folders based on their file extensions. It utilizes the os module to navigate the file system and the shutil module to move files.
Features:
- Scans a specified directory
- Sorts files into folders based on file extension
- Logs the operations performed
Libraries Used: pypdf
Description: This project demonstrates the use of the pypdf module to merge two pdfs.
Features:
- Sorts the PDFs
- Merges them
- Makes a merged pdf with user specified name
Libraries Used: argparse
Description: This project demonstrates the use of the argparse module to create a command-line interface for a Python script. It includes examples of different types of arguments and how to handle them.
Features:
- Define command-line arguments
- Parse and validate arguments
- Display help messages
Libraries Used: streamlit, plotly, pandas
Description: This project is an expense manager that allows users to track and visualize their expenses. It utilizes Streamlit for the user interface, Plotly for data visualization, and Pandas for data manipulation and analysis.
Features:
- Add, edit, and delete expense entries
- Categorize expenses
- Visualize expenses with interactive charts and graphs
- Export data to CSV format
Libraries Used: os, random
Description: This project is a simple Snake, Water, Gun game that you can play against the computer. It uses the os module to clear the screen and the random module to generate random choices for the computer.
Features:
-
Play Snake, Water, Gun against the computer
-
Randomly generated computer choices
-
Scores the high score in a txt file
screen for a clean gameplay experience
Libraries Used: pywin32
Description: This project is a Text-to-Speech (TTS) agent that converts text input into spoken words. It uses the pywin32 module to access Windows' built-in speech capabilities.
Features:
- Convert text to speech using Windows' TTS engine
- Customize speech rate and volume
- Simple command-line interface for input
Libraries Used: os
Description: This project is a simple Word Counter that counts the number of words in a text file. It uses the os module to interact with the file system and read the contents of the file.
Features:
- Read a text file and count the number of words
- Display the word count to the user
- Handle errors if the file does not exist
Make sure you have Python installed on your system. You can download it from python.org. All the different projects have their specific requirements.txt
Clone this repository to your local machine:
git clone https://github.com/leaccce/python_automations