I tried the python os.getcwd() function but it outputs path names with '////' instead of '/'. (Anyway the py external has problems i don't understand right now, it works when i run it with double-clicking on the patch but give me 'AttributeErrors' when I open the patch or create the py object from pd on win32).
Is there another solution for getting the path of a patch or at least the working directory's path?
[getdir] (external) by Hans-Christoph Steiner
On Thu, 2007-04-12 at 12:23 +0200, Patco wrote:
I tried the python os.getcwd() function but it outputs path names with '////' instead of '/'. (Anyway the py external has problems i don't understand right now, it works when i run it with double-clicking on the patch but give me 'AttributeErrors' when I open the patch or create the py object from pd on win32).
Is there another solution for getting the path of a patch or at least the working directory's path?
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
Actually, by Günter Geiger. But yes...
.hc
On Apr 12, 2007, at 6:52 AM, Roman Haefeli wrote:
[getdir] (external) by Hans-Christoph Steiner
On Thu, 2007-04-12 at 12:23 +0200, Patco wrote:
I tried the python os.getcwd() function but it outputs path names
with '////' instead of '/'. (Anyway the py external has problems i don't understand right now, it works when i run it with double-clicking on the patch but give me 'AttributeErrors' when I open the patch or create the py object
from pd on win32).Is there another solution for getting the path of a patch or at least the working directory's path?
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo!
Mail: http://mail.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
¡El pueblo unido jamás será vencido!