> Does anybody know where I can find a module > which calculates some python code readability statistics. > Like for example: > % comment lines. > average line length > average module number of lines > etc... I don't know if such a utility already exists or not, but you could probably write one in less than an hour. Look at the tokenize module. Cheers, Brian