Codatractus

Codatractus is a Neotropical and Nearctic genus in the family Hesperiidae (Eudaminae). [1]

Codatractus
Codatractus alcaeus (Hewitson, 1867) figure 9, Codatractus aminias (Hewitson, 1867) figure 14
Scientific classification
Kingdom:
Phylum:
Class:
Order:
Family:
Genus:
Codatractus

Lindsey, 1921

Species

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.
gollark: Why the free time thing though? It's not like looking up how to do this is particularly time consuming.
gollark: Oh, well, this is faster.

References


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