Skip to content

Instantly share code, notes, and snippets.

View lucasc896's full-sized avatar

Chris Lucas lucasc896

  • University of Bristol
  • CERN
View GitHub Profile
@robcowie
robcowie / config_arg_parser.py
Created February 18, 2019 10:00
ArgumentParser and argparse Action that can pull args from a yaml config file
# -*- coding: utf-8 -*-
"""
Part of the undertime app https://gitlab.com/anarcat/undertime by Antoine Beaupré.
AGPLv3 licence (https://gitlab.com/anarcat/undertime/blob/master/LICENSE)
"""
import argparse
import os