# module my_utils # # this module contains a few short utilities # # started by e.bonakdarian nov 2010 # # for COMP 101, to be finished by students # def bike_banner(): # displays a fancy bicycle banner print '\n----------------------------------------------------------' print ' __o' print ' _`\<,_' print '(*)/ (*)' print 'EBProductions Inc.' print '----------------------------------------------------------' def simple_banner(): # displays a banner print '\n----------------------------------------------------------' print 'EBProductions Inc.' print '----------------------------------------------------------' if __name__ == '__main__': # this code can be used to test the functions # in this module # # if the module is imported, this code will not # be run -- pretty cool mechanism. # print 'fancy banner first' bike_banner() print print 'simple banner now:' simple_banner() raw_input('\n to exit')