Re: [Tutor] hash.update( argv[0] )

2006-04-24 Thread George Georgalis
On Sun, Apr 23, 2006 at 10:49:00PM -0700, Danny Yoo wrote: > > >On Sun, 23 Apr 2006, George Georgalis wrote: > >>Hi! I've been struggling to find a way up seed hash.update() with >>the sha1 (or similar) of the file that is the program running. >> >>this is

[Tutor] hash.update( argv[0] )

2006-04-23 Thread George Georgalis
name = hash.hexdigest() so new files are generated when the program or parameters are changed; but cached files are used when identical results are expected. help! I cannot figure out how to pass the program body as a seed to hash.update(). // George -- George Georgalis, systems architect, administrator &