Hi all,
I don't think it makes sense to have python's CWD follow that of the patch - what if there are two patches in different directories? It's probably better to make things explicit via canvas_getcurrentdir().
cheers Miller
On Tue, Mar 11, 2008 at 11:42:33AM -0400, Peter Brinkmann wrote:
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
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list