Skip to content

Instantly share code, notes, and snippets.

View bonheml's full-sized avatar

Lisa Bonheme bonheml

  • IARC
  • Lyon France
View GitHub Profile
bonheml /
Created January 25, 2021 19:34
A small python script to parse Teams attendance file. Requires pandas.
import pandas as pd
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--attendance", "-a", type=str, required=True, help="A Teams attendance file")
parser.add_argument("--output", "-o", type=str, help="An output file name, if not provided output will only be displayed")
parser.add_argument("--teachers", "-t", metavar='T', type=str, nargs='+',
help="Names of the class supervisors attending the class", default=[])
def main(args):