import yaml import string import argparse from ModuleGenerator import ModuleGenerator from datetime import date def getDate(): today = return today.strftime("%m/%d/%Y") if __name__ == ‘__main__’: parser = argparse.ArgumentParser(description=’Create a new … Continue reading GenerateScript


def WriteHeader(self): # Read in the .h template file with open("templates/header.htf") as inputFile: headerTemplate = string.Template( inputFile.close() # Substitute the new strings with the template tags headerFile = headerTemplate.substitute( module=self.moduleName, … Continue reading WriteHeader