Help with regular expression patterns

2008-11-28 Thread Michel Perez
attern : wikilink <== ['Image:image_link.jpg|rigth|thumbnail|200px|"PREMIER"'] [] ['markup', 'programming_language|language'] [] [] [] ===> processing pattern : a_nowiki <== [] [] [] [] [] ['sign]'] In the fir

problem with JSON-RPC

2008-11-12 Thread Michel Perez
cho(self, msg): return msg service = MyService() service client  #!/usr/bin/env python from jsonrpc import ServiceProxy s = ServiceProxy("http://localhost/services/test.py";) print s.echo("foobar") Regards -- Michel Perez

convert to XMLRPC

2008-11-06 Thread Michel Perez
the way i handle the result i only need to convert them to XML or else. -- Michel Perez )\._.,--,'``. Ulrico Software Group/, _.. \ _\ ;`._ ,. Nihil est tam arduo et difficile human `._.-(,_..'--(,_..

Re: find an object ancestor

2008-11-05 Thread Michel Perez
Thanks it works OK On Thu, 2008-11-06 at 13:14 +1000, James Mills wrote: > On Mon, Nov 3, 2008 at 7:16 AM, Michel Perez <[EMAIL PROTECTED]> > wrote: > > HI all: > > > > imagine something like this: > > > > class father: > >pass > > class

find an object ancestor

2008-11-05 Thread Michel Perez
HI all: imagine something like this: class father: pass class son( father ): pass I need to know the son ancestor class how can i know this. Thanks --- Red Telematica de Salud - Cuba CNICM - Infomed -- http://mail.python.org/mailman/li

about recursive load

2008-10-30 Thread Michel Perez
Hi, am very newbie in Python, but as part of a project i need to load configuration -a settings.py file in the package dir- of my apps recursively, something like this: settings.load_config("project.test.app") settings.load_config("project.test.*") settings.load_config("project.test") settings.