I found this recipe quite related
http://code.activestate.com/recipes/198078/
it logs all methods calls with their parameters and return values.. Can this
be modified to include any other outputs of the module, which are not
specified with the return statement.
cheers
On Fri, Sep 17, 2010 at
"Jojo Mwebaze" wrote
My applogies to begin with, it seems i didnt state my problem
clearly for
this particular case - perharps I/O was not the best way to describe
my
problem.
Hmmm, perhaps not! :-)
Specifically, i would like to track all inputs/output to
modules/functions -
if a module
Good morning Jojo,
: Thanks Martin, for the detailed break down, it actually helped me
: solve one of my other problems..
Quite glad to help.
: My applogies to begin with, it seems i didnt state my problem
: clearly for this particular case - perharps I/O was not the best
: way to descr
Thanks Martin, for the detailed break down, it actually helped me solve one
of my other problems..
My applogies to begin with, it seems i didnt state my problem clearly for
this particular case - perharps I/O was not the best way to describe my
problem.
We have a system fully developed in python
[apologies in advance for an answer that is partially off topic]
Hi there JoJo,
: I could begin with tracing I/O calls in my App.. if its
: sufficient enough i may not need i/o calls for the OS.
What do you suspect? Filesystem I/O?
* open(), close(), opendir() closedir() filesystem laten
"Jojo Mwebaze" wrote
I am using centos, however i don't even have admin privileges.
Which API
are you referring to?
The OS API - Win32 in Windows or the Unix standard library etc
Alan G
___
Tutor maillist - Tutor@python.org
To unsubscribe
On Wed, Sep 15, 2010 at 11:37 PM, Alan Gauld wrote:
>
> "Jojo Mwebaze" wrote
>
>
> I would like to intercept and record I/O function calls to a file.. (later
>> to a database) with probably the names of the files that have been
>> created,
>> accessed / deleted in my program. I have not done so
"Jojo Mwebaze" wrote
I would like to intercept and record I/O function calls to a file..
(later
to a database) with probably the names of the files that have been
created,
accessed / deleted in my program. I have not done something like
this
before.. Some Guidance is highly appreciated
A
Hello Tutor
I would like to intercept and record I/O function calls to a file.. (later
to a database) with probably the names of the files that have been created,
accessed / deleted in my program. I have not done something like this
before.. Some Guidance is highly appreciated
Johnson
__