Hi Thomas,
Thanks for your reply!

> Does pyext offer Python bindings for functions like
> canvas_getcurrentdir() from m_pd.h?
>

currently it doesn't, but i'll see if i can add it

That would be great.  Not to seem greedy, but there are a few more functions in there that would be good to have, such as canvas_dspstate().

In addition (and almost more importantly), I would like to have pyext set the working directory of the Python interpreter to canvas_getcurrentdir() upon initialization.
Best,
    Peter