Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27816

Re: Looking for duplicate modules

References <377FBB51-D794-4F05-9E51-46A056705E32@panix.com>
Date 2012-08-25 04:03 +1000
Subject Re: Looking for duplicate modules
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3763.1345831404.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Aug 24, 2012 at 1:30 AM, Roy Smith <roy@panix.com> wrote:
> I'm working on a tool which scans all the directories in sys.path and finds any modules which appear multiple times in the path.  It'll also call out any .pyc's it finds without matching py's.
>

This is why I love high level languages. The core of your problem is
solved by a single dictionary object.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Looking for duplicate modules Chris Angelico <rosuav@gmail.com> - 2012-08-25 04:03 +1000

csiph-web