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 not a security task but rather a means to generate reasonably unique filenames based on various parameters including changes to the program: 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 <IXOYE>< http://galis.org/ cell:646-331-2027 mailto:[EMAIL PROTECTED] _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor