John J. Lee wrote: > "Michele Simionato" <[EMAIL PROTECTED]> writes: > [...] >> This agrees with my scan (except I also found an occurrence of 'create' >> in Tkinter). >> BTW, I would be curious to see the script you are using for the >> scanning. Are you >> using tokenize too? In am quite fond of the tokenize module ;) > > Having seen Sion's (non-existent) script, how about posting yours? I > regularly grep for things in Python code, and it hadn't occurred to me > that I could instead use module tokenize. > > Module tokenize looks pretty simple, but would be nice to see some > code that has already been used.
Michele's code: http://groups.google.com/group/comp.lang.python/msg/e84e36ad10d78303 My derivative: http://groups.google.com/group/comp.lang.python/msg/ed6dd53c267c7c77 STeVe -- http://mail.python.org/mailman/listinfo/python-list