[PD-cvs] externals/grill/py/pd methods-1.pd,1.1,1.2

Thomas Grill xovo at users.sourceforge.net
Mon Jul 18 20:03:14 CEST 2005


Update of /cvsroot/pure-data/externals/grill/py/pd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27765/pd

Modified Files:
	methods-1.pd 
Log Message:
python-like dotted module.function syntax
cleaned up float vs. int pyext tags
better definition of output values (atoms, lists, anythings)
multiply inlets for py (hot and cold inlets)
better exception handling and error message
fixes for atomic pyext._outlet messages


Index: methods-1.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/py/pd/methods-1.pd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** methods-1.pd	9 Jul 2005 13:03:34 -0000	1.1
--- methods-1.pd	18 Jul 2005 18:03:11 -0000	1.2
***************
*** 1,3 ****
! #N canvas 540 469 714 349 12;
  #X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818
  -1 0;
--- 1,3 ----
! #N canvas 540 469 718 353 12;
  #X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818
  -1 0;
***************
*** 6,24 ****
  #X symbolatom 21 139 10 0 0 0 - - -;
  #X symbolatom 25 298 10 0 0 0 - - -;
- #X obj 25 252 pym upper;
  #X obj 22 179 py .str @xlate 0;
  #X text 93 167 convert the symbol to a Python string;
  #X text 35 216 pass it as a true Python object;
! #X text 105 251 use string.upper method;
! #X obj 363 252 py string.upper;
! #X symbolatom 364 288 10 0 0 0 - - -;
! #X text 495 254 use module function;
  #X text 23 119 enter some text;
  #X text 21 73 Py can act on Python objects in a object-oriented manner
  ;
  #X text 93 184 using the built-in str function;
! #X connect 3 0 6 1;
! #X connect 5 0 4 0;
! #X connect 6 0 5 1;
! #X connect 6 0 10 1;
! #X connect 10 0 11 0;
--- 6,24 ----
  #X symbolatom 21 139 10 0 0 0 - - -;
  #X symbolatom 25 298 10 0 0 0 - - -;
  #X obj 22 179 py .str @xlate 0;
  #X text 93 167 convert the symbol to a Python string;
  #X text 35 216 pass it as a true Python object;
! #X symbolatom 364 295 10 0 0 0 - - -;
! #X text 462 269 use module function;
  #X text 23 119 enter some text;
  #X text 21 73 Py can act on Python objects in a object-oriented manner
  ;
  #X text 93 184 using the built-in str function;
! #X obj 25 252 pym swapcase;
! #X text 63 270 use swapcase method;
! #X obj 363 250 py string.swapcase;
! #X connect 3 0 5 1;
! #X connect 5 0 13 1;
! #X connect 5 0 15 1;
! #X connect 13 0 4 0;
! #X connect 15 0 8 0;





More information about the Pd-cvs mailing list