Hi Sam,
thank you very much. Your diagnosis was perfect!
Bye.
--
http://mail.python.org/mailman/listinfo/python-list
That looks like a different module named pcop getting in the way. If
there's another pcop.py in the directory where you're running it as a
script, then that gets priority and you'll end up with an error like
the one you got. However, if you run it interactively, then that
directory is not checked,
Hi all,
using Python 2.4 under Linux (SUSE 9.3) I was developping a script to
get various lists related with DCOP.
In interactive Python all is working correctly:
import pcop
# application's registration with DCOP
x=pcop.register_as('kate')
print x
kate-7497
# list of DCOP registered applica