This file contains 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
import pandas as pd | |
import sys | |
if __name__ == "__main__": | |
if len(sys.argv) != 3: | |
print("usage: python3 stable_elective.py <electivelist> <sheetname>", file = sys.stderr) | |
sys.exit(1) | |
# Note: Assuming Excel file with columns having following names: |
This file contains 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
import pandas as pd | |
from sys import argv | |
if __name__ == "__main__": | |
n = len(argv) | |
if n != 2: | |
print("usage: python3 attendance.py <name_of_file>") | |
exit(1) | |
set_of_all = set() |
This file contains 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
import jinja2 | |
from sys import argv, stderr, exit | |
def generate_combined(filename, processors, threads): | |
templateLoader = jinja2.FileSystemLoader(searchpath = './') | |
templateEnv = jinja2.Environment(loader = templateLoader) | |
template = templateEnv.get_template(filename) | |
nodestring = "1:ppn={}".format(threads) |
This file contains 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
tensorflow | |
ffmpeg-python | |
scikit-video | |
opencv-python | |
jupyter | |
jupyter-lab | |
jupyter-notebook | |
PIL | |
pillow | |
matplotlib |