One of the best uses of programming is to automate our daily tasks. How repetetive and boring it is to check a database of invoices for a business, comb through them and manually send reminder emails one by one! In this project we are going to make a tool which will automatically parse the spreadsheet, cross reference the reminder date with the current date and send beautiful, professional emails with courier.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
import re | |
import pymongo | |
client = pymongo.MongoClient( | |
"db_url") | |
db = client.tokens | |
people = db.people | |
def add_person(email_id, password): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nextcord | |
import asyncio | |
from nextcord.ext import commands | |
from discord_slash import cog_ext, SlashContext | |
from discord_slash.utils.manage_commands import create_option, create_choice | |
from discord_slash.model import ButtonStyle | |
from discord_slash.utils.manage_components import create_button, create_actionrow | |
from discord_slash.utils.manage_components import wait_for_component | |
from discord_slash.context import ComponentContext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import nextcord | |
from nextcord.ext import commands, tasks | |
import os | |
from tinydb import TinyDB, Query | |
from dotenv import load_dotenv | |
load_dotenv() | |
from discord_slash import SlashCommand | |
intents = nextcord.Intents.all() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import nextcord | |
from nextcord.ext import commands, tasks | |
import os | |
from tinydb import TinyDB, Query | |
from dotenv import load_dotenv |