.pyc in subdirectories ?

Steve Holden sholden at holdenweb.com
Thu May 30 11:47:47 EDT 2002


"jb" <jblazi at hotmail.com> wrote in message
news:3cf5d3d4_2 at news.newsgroups.com...
> Can I have Üython generate .pyc files not in the current directory $CDIR
but
> in a subdirectory $CDIR/pyc ?
>

Not without fiddling with the import mechanism, which does have the hooks to
allow it. But it's a pretty bizarre idea. You will also have to *search*
differently as well.

regards
 Steve
--
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list