8000 GitHub - ajayagrawalgit/Secret-Santa-Generator: A very small and simple python program which helps you to draw unique names for Secret Santa Gift Exchange
[go: up one dir, main page]

Skip to content

ajayagrawalgit/Secret-Santa-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

image

This Python script is designed to help you organize a Secret Santa gift exchange. It allows you to input a list of names, shuffles them, and assigns each person a Secret Santa recipient.


How to Use

  1. Run the script by executing the following command in your terminal:

    python3 secret_santa.py
  2. Choose whether to pass a file path (1) or create a temporary file (2) for the list of names.

  3. If creating a temporary file, the script will display the file path and open it in the Vi editor after a countdown.

  4. Enter the names in the Vi editor and save the file.

  5. The script will shuffle the names, assign Secret Santa pairs, and display the results.


Features

  • Create a Temporary File: The script provides an option to either pass a file path with names or create a temporary file for entering names.

  • Vi Editor Integration: If you choose to create a temporary file, the script opens it in the Vi editor for you to conveniently enter the list of names.

  • Countdown Timer: Displays a countdown timer when opening the temporary file in Vi editor, giving you time to prepare before entering names.


Requirements

  • Python 3

🧑🏻 Know Me More

Developer - Ajay Agrawal


🤝 Support Me 🤝

Buy me a Coffee




Made with ♥️ in India


About

A very small and simple python program which helps you to draw unique names for Secret Santa Gift Exchange

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0