Re: general module auditing

2014-07-04 Thread Irmen de Jong
On 4-7-2014 19:05, Irmen de Jong wrote: > The code at the end of this message outputs the following on my machine: [...] hmm the formatting got screwed up a bit it seems. Here's the same code: https://gist.github.com/irmen/c3d07118a8e1a00367f5 Irmen -- https://mail.python.org/mailman/listinfo/

Re: general module auditing

2014-07-04 Thread Irmen de Jong
On 4-7-2014 1:09, Rita wrote: > > here is what I am doing now, > > egrep 'from|import' *.py | wc -l which is giving me that. But this does not > give me the number of times the particular module gets called. I was > thinking of adding a logging feature to all of my modules so every time > they ge

Re: general module auditing

2014-07-03 Thread Mark Lawrence
On 04/07/2014 00:09, Rita wrote: here is what I am doing now, egrep 'from|import' *.py | wc -l which is giving me that. But this does not give me the number of times the particular module gets called. I was thinking of adding a logging feature to all of my modules so every time they get called

Re: general module auditing

2014-07-03 Thread Rita
On Thu, Jul 3, 2014 at 8:36 AM, Mark Lawrence wrote: > On 03/07/2014 10:27, Rita wrote: > >> >> >> >> On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence > > wrote: >> >> On 03/07/2014 02:17, Rita wrote: >> >> >> On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong

Re: general module auditing

2014-07-03 Thread Mark Lawrence
On 03/07/2014 10:27, Rita wrote: On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence mailto:breamore...@yahoo.co.uk>> wrote: On 03/07/2014 02:17, Rita wrote: On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong mailto:irmen.nos...@xs4all.nl>

Re: general module auditing

2014-07-03 Thread Rita
On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence wrote: > On 03/07/2014 02:17, Rita wrote: > >> >> On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong > > wrote: >> >> On 2-7-2014 4:04, Rita wrote: >> > yes, this helps. But I want to know who uses the module, serpen

Re: general module auditing

2014-07-02 Thread Mark Lawrence
On 03/07/2014 02:17, Rita wrote: On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong mailto:irmen.nos...@xs4all.nl>> wrote: On 2-7-2014 4:04, Rita wrote: > yes, this helps. But I want to know who uses the module, serpent. So, when > I upgrade it or remove it they won't be affected a

Re: general module auditing

2014-07-02 Thread Rita
On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong wrote: > On 2-7-2014 4:04, Rita wrote: > > yes, this helps. But I want to know who uses the module, serpent. So, > when > > I upgrade it or remove it they won't be affected adversely. > > > (Please don't top-post, it makes the discussion harder to fol

Re: general module auditing

2014-07-02 Thread Irmen de Jong
On 2-7-2014 4:04, Rita wrote: > yes, this helps. But I want to know who uses the module, serpent. So, when > I upgrade it or remove it they won't be affected adversely. (Please don't top-post, it makes the discussion harder to follow.) > On Tue, Jul 1, 2014 at 2:16 PM, Irmen de Jong > wrote: >

Re: general module auditing

2014-07-01 Thread Rita
yes, this helps. But I want to know who uses the module, serpent. So, when I upgrade it or remove it they won't be affected adversely. On Tue, Jul 1, 2014 at 2:16 PM, Irmen de Jong wrote: > On 1-7-2014 12:38, Rita wrote: > > i work in a group of developers (15 or so) who are located globally.

Re: general module auditing

2014-07-01 Thread Irmen de Jong
On 1-7-2014 12:38, Rita wrote: > i work in a group of developers (15 or so) who are located globally. I > would like to know what modules everyone is uses if I ever have to upgrade > my python. Is there mechanism which will let me see who is using what? > > ie, > > tom,matplotlib > bob, pylab >

general module auditing

2014-07-01 Thread Rita
i work in a group of developers (15 or so) who are located globally. I would like to know what modules everyone is uses if I ever have to upgrade my python. Is there mechanism which will let me see who is using what? ie, tom,matplotlib bob, pylab nancy, numpy nancy, matplotlib etc... -- ---