Skip to content

Instantly share code, notes, and snippets.

View oxcalexporter.py
#!/usr/bin/env python3
import sys
import os
from pick import pick
from icalendar import Calendar, Event, vDatetime
from datetime import datetime, date
from pytz import timezone
import mysql.connector as mc
@quizzmaster
quizzmaster / gtalug_ics.py
Created Sep 7, 2018 — forked from myles/gtalug_ics.py
A simple Python script that generates the GTALUG ICS (or iCal) file at <http://gtalug.org/gtalug.ics>.
View gtalug_ics.py
#!/usr/bin/env python
import vobject
import datetime
from pytz import timezone
from dateutil import rrule
TIME_ZONE = timezone('US/Eastern')
TODAY = datetime.date.today() - datetime.timedelta(days=31)
MEETING_START_TIME = datetime.time(19, 30, tzinfo=TIME_ZONE)
@quizzmaster
quizzmaster / gtalug_ics.py
Created Sep 7, 2018 — forked from myles/gtalug_ics.py
A simple Python script that generates the GTALUG ICS (or iCal) file at <http://gtalug.org/gtalug.ics>.
View gtalug_ics.py
#!/usr/bin/env python
import vobject
import datetime
from pytz import timezone
from dateutil import rrule
TIME_ZONE = timezone('US/Eastern')
TODAY = datetime.date.today() - datetime.timedelta(days=31)
MEETING_START_TIME = datetime.time(19, 30, tzinfo=TIME_ZONE)