Lowe baronets

The Lowe Baronetcy, of Edgbaston in the City of Birmingham, is a title in the Baronetage of the United Kingdom. It was created on 30 January 1918 for Francis Lowe, Conservative Member of Parliament for Edgbaston from 1898 to 1929.

Lowe baronets, of Edgbaston (1918)

gollark: I may actually be overestimating it, because averaged out I only have 4 hours of lessons a day (free periods + sports + etc).
gollark: I counted that, yes.
gollark: It filters out one guild on which I discuss somewhat real-world things, filters out DMs, removes pings, and reads the messages.csv files, as well as producing a CSV output for aitextgen.
gollark: ```python#!/usr/bin/env python3import os, os.path, json, csv, reOUT = "/tmp/messages.csv"with open(OUT, "w") as g: outwriter = csv.writer(g) DATA_ROOT = "/tmp/messages" for x in os.listdir(DATA_ROOT): dir = os.path.join(DATA_ROOT, x) if os.path.isdir(dir): with open(os.path.join(dir, "channel.json")) as f: meta = json.load(f) if meta["type"] == 0 and ("guild" not in meta or meta["guild"]["id"] != "771081279403065344"): print(x, meta.get("name", "???"), meta.get("guild", "???")) with open(os.path.join(dir, "messages.csv")) as f: r = csv.reader(f) for row in r: channel, timestamp, message, _ = row message = re.sub("<@[0-9]+>", "", message) outwriter.writerow((message, ))```
gollark: And the messages folder → CSV dumper is something like 20 lines of python.

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.