Re: cProfile for python 2.4

2008-03-29 Thread ptrk
On Mar 28, 3:50 pm, David Pratt <[EMAIL PROTECTED]> wrote: > I'd like to compile cProfile for python 2.4. Where can I get it to do > this? I realize it is part of python 2.5. Many thanks. can you use cProfile's predecessor, profile? http://docs.python.org/lib/module-profile.html -- http://mail.p

Re: Files, directories and imports - relative to the current directory only

2008-03-25 Thread ptrk . mcm
On Mar 25, 11:27 am, ptn <[EMAIL PROTECTED]> wrote: > Hello, group. > > I can only read files and import modules that are in the same > directory > as the one my script is. Here is a test script (path.py): > > import os > import uno # some module I wrote > > print list(os.