Re: [Pythonmac-SIG] obj in MacPython and Appscript

2005-10-26 Thread has
Zhi Peng wrote: >When I used appscript, I often try to print out the object or string while I >debug the program. For example: >cs = app('TextEdit').documents[1].paragraphs[1] >print cs >I assumed that cs should be anObject of paragraphs. >But it print out as > >app('TextEdit').documents[1].par

[Pythonmac-SIG] obj in MacPython and Appscript

2005-10-25 Thread Zhi Peng
Hi! All   First of all, thanks for all your answers to my qestions.   1. When I used appscript, I often try to print out the object or string while I debug the program. For example: cs = app('TextEdit').documents[1].paragraphs[1]print csI assumed that cs should be anObject of paragraphs. But it