Skip to content

bikashadhikari07/CODSOFT

Repository files navigation

CODSOFT

Contact List App (contactlist.py)

Description

This project is a contact management application with additional features for saving contacts as JSON files and managing them using Tkinter in Python.

Features

  • Add new contacts with name, phone, email, and address.
  • View all contacts in a tabular format.
  • Edit existing contacts.
  • Delete contacts.
  • Search contacts by name or phone number.
  • Save and load contacts to/from JSON files for persistent storage.

Requirements

  • Python 3.x
  • Tkinter library (usually included in Python standard library)

Usage

  1. Adding a Contact: Enter the contact details in the respective fields and click "Add Contact".
  2. Viewing Contacts: Navigate to the "View Contacts" tab to see all added contacts.
  3. Editing Contacts: Select a contact from the list, click "Edit Contact", modify the details in the popup window, and click "Save".
  4. Deleting Contacts: Select a contact from the list and click "Delete Contact" to remove it.
  5. Searching Contacts: Use the "Search Contacts" tab to enter a search query and find matching contacts.
  6. Saving Contacts: Click "Save Contacts" to save all contacts to a JSON file.
  7. Loading Contacts: Click "Load Contacts" to load previously saved contacts from a JSON file.

Setup

  1. Ensure Python is installed.
  2. No additional dependencies are required.
  3. Run the script contactlist.py.

Author


Password Generator App (password_generator.py)

Description

This project is a password management application that generates random passwords and saves them to a text file using Tkinter in Python.

Features

  • Generate a random password of specified length.
  • Includes letters (uppercase and lowercase), digits, and special characters.
  • Provides feedback on generated password.
  • Save generated passwords along with application names to a text file.

Requirements

  • Python 3.x
  • Tkinter library (usually included in Python standard library)

Usage

  1. Enter the desired password length in the input field.
  2. Enter the application name for which the password is generated.
  3. Click "Generate Password" to create a random password and save it.
  4. The generated password will be displayed below the button.
  5. Passwords are saved in a text file (passwords.txt) with the corresponding application names.

Setup

  1. Ensure Python is installed.
  2. No additional dependencies are required.
  3. Run the script password_generator.py.

Author


Rock Paper Scissors Game (rock_paper_scissors.py)

Description

This project is a simple Rock Paper Scissors game implemented using Tkinter in Python. It allows users to play against the computer and keeps track of scores.

Features

  • Choose between Rock, Paper, or Scissors.
  • Computer randomly selects its move.
  • Determines the winner of each round based on game rules.
  • Displays user and computer scores.

Requirements

  • Python 3.x
  • Tkinter library (usually included in Python standard library)

Usage

  1. Click on your desired move (Rock, Paper, or Scissors) to make a choice.
  2. The game will display the computer's choice and announce the result of the round.
  3. Scores are updated after each round.
  4. After each round, decide whether to play again or quit.

Setup

  1. Ensure Python is installed.
  2. No additional dependencies are required.
  3. Run the script rock_paper_scissors.py.

Author


Notes

  • Random Module: The random module is used in the Rock Paper Scissors game and the Password Generator to generate random choices and passwords, respectively. It's a part of Python's standard library, so no additional installation is needed.

Additional Notes To CodSoft

  • This project was created as a fun activity to express thanks and appreciation.
  • To run the game, simply execute specialThanks.py using Python.