aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/pd/methods-2.pd
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-07-09 13:03:34 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-07-09 13:03:34 +0000
commit29416a643b9c3d19a60b91b37a263d300c11486b (patch)
treedd28d4b6c6a6e4229de8c5e8ae76f4686df935c6 /externals/grill/py/pd/methods-2.pd
parent897b80c5585f7c9031ff1aafb504c21a9d3b1606 (diff)
python-like dotted module.function syntax
reworked outbound message generation (now with symbols instead of one-element anythings) multiply inlets for py (hot and cold inlets) cleaned up float vs. int pyext tags pymeth object for object methods enable built-in functions sequence protocol for symbol type enabled built-in functions py: allow all callables svn path=/trunk/; revision=3310
Diffstat (limited to 'externals/grill/py/pd/methods-2.pd')
-rw-r--r--externals/grill/py/pd/methods-2.pd28
1 files changed, 28 insertions, 0 deletions
diff --git a/externals/grill/py/pd/methods-2.pd b/externals/grill/py/pd/methods-2.pd
new file mode 100644
index 00000000..b10e183c
--- /dev/null
+++ b/externals/grill/py/pd/methods-2.pd
@@ -0,0 +1,28 @@
+#N canvas 540 469 734 339 12;
+#X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818
+-1 0;
+#X text 235 16 Python script objects \, (C)2003-2005 Thomas Grill;
+#X text 235 32 http://grrrr.org/ext;
+#X symbolatom 21 139 10 0 0 0 - #0-t -;
+#X text 23 119 enter some text;
+#X text 21 73 Py can act on Python objects in a object-oriented manner
+;
+#X obj 25 252 pym 2 *;
+#X obj 213 169 t b f;
+#X text 105 251 repeat text;
+#X text 215 117 multiply it!;
+#X symbolatom 25 283 80 0 0 0 - - -;
+#X obj 214 139 nbx 5 14 1 100 0 1 empty empty empty 0 -6 0 10 -262131
+-1 -1 34 256;
+#N canvas 0 0 458 308 init 0;
+#X obj 61 116 s \$0-t;
+#X obj 64 44 loadbang;
+#X obj 64 81 symbol a;
+#X connect 1 0 2 0;
+#X connect 2 0 0 0;
+#X restore 606 127 pd init;
+#X connect 3 0 6 1;
+#X connect 6 0 10 0;
+#X connect 7 0 6 0;
+#X connect 7 1 6 2;
+#X connect 11 0 7 0;