#!/usr/bin/python3 import os from platform import release import sys import csv # make directory for bom html file and assets dirName = "Feeder-" + sys.argv[1] if not os.path.exists(dirName): os.mkdir(dirName) print("Directory " , dirName , " Created ") else: print("Directory " , dirName , " already exists") # make html file that will become our BOM f = open(dirName + "/bom_" + sys.argv[1] + ".html", "w") f.write("""
