import subprocess import logging logger = logging.getLogger(__name__) logging.basicConfig(level=logging.DEBUG) if __name__ == '__main__':