#!/usr/bin/env python # import system modules # import os import sys # main program # def main(argv): toaster = Toaster() toaster.myprint() # begin gracefully # if __name__ == "__main__": main(sys.argv[0:]) # # end of file # Class: Toaster # # This class facilitates handling a parameter file that controls # how many sweeps are done to generate a det curve. # class Toaster: # define a constructor # def __init__(self): print("... calling the default constructor...") # end of constructor # method: myprint # # arguments: none # # return: values are printed to stdout # def myprint(self): # print the data # print("hello world") # exit gracefully # return # end of function # end of class