This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import argparse | |
import re | |
import logging | |
import os | |
import sys | |
if os.name == "nt": | |
import pbs as sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import datetime | |
import os | |
import argparse | |
import logging | |
import sh | |
FORMAT = '%(asctime)-15s %(levelname)s %(message)s' | |
logging.basicConfig(format=FORMAT, level=logging.INFO) |