If you have a pre-booking site which has a series of lectures, where you can pre-book a slot 24 hours early for not open
and 48 hours early for *not open
, this generator will turn all that headache into a calendar that will tell you when to book, that you can import into your calendar app.
- Download
ed_event.py
to a folder. - Go to the booking website. Put the URL in the first line of a text file, and hit enter.
- Then, go to the website, hit ctrl-a / cmd-a to grab the whole site in plain text, and paste it.
- Save this as
event.txt
in the same folder ased_event.py
.
The text file should look similar to:
https://ease.homepages.inf.ed.ac.uk/cgi/jcb/cosign/events.pl?event=fnlp
You are Mia Dobson (s1803409).
Foundations of Natural Language Processing
-
Assuming you have Python installed, go to the command line and run:
pip install ics python ed_event.py
-
You will see an "event-prebook.ics" file. Import it into whatever calendar you're using. (If you're using your OS built-in calendar app you should be able to just double-click the file to import it.)