Add upcoming birthdays #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Storing a list of people's names and birthdays in an INI config file can be a straightforward and organized way to manage such data. Here's an example of how you can structure an INI config file for this purpose:
In this example, the section
[birthdays]
is used to group the names and birthdays. Each person's name is associated with their birthday using the formatName = Date
.You can use Python's
configparser
module to read and write data to INI files. Here's a simple Python function for reading the data from the INI file:You can call this function with the path to your INI file to obtain a dictionary with names and birthdays. Remember to replace
"filename.ini"
with the actual filename you're using.This approach should work well for managing a list of people's names and birthdays in a structured and easy-to-maintain manner.
Site needs to be password protected if it is going to show birthdays.