[Paraview] python in Paraview III
Olivier Ricou
olivier at ricou.eu.org
Wed Feb 7 12:12:30 EST 2007
die 07/02/07, ad 16h31, David E DeMarle <dave.demarle at kitware.com> dixit :
> Yet another typo in my reply. :)
> "paraview.Connect()" instead of "paraview.Connect" or "paraview.connect()"
thanks, it was the problem.
I have corrected these typos on the man wiki page
http://www.paraview.org/Wiki/ParaView:pvpython
BTW, to see a value I need to use print :
>>> a=2
>>> a
>>> print a
2
>>>
This is not the usual behaviour of Python. There is
the same problem with the result of functions :
>>> import os
>>> dir(os)
>>> print dir(os)
['EX_CANTCREAT', 'EX_CONFIG', 'EX_DATAERR', 'EX_IOERR', 'EX_NOHOST',
'EX_NOINPUT',
...
>>>
Maybe it is something wrong with me, but if not, I suggest to
warn users about this special feature in the wiki page.
Olivier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://public.kitware.com/pipermail/paraview/attachments/20070207/2e8e380b/attachment.pgp
More information about the ParaView
mailing list