Re: python-soappy

2006-01-11 Thread m.banaouas
tooper a écrit : > On the client side : > from SOAPpy import SOAPProxy > server= SOAPProxy("http://foo.bar.org:8090";) > print server.Hello("world") > > On the server side : > from SOAPpy import SOAPServer > > def Hello(name): > return "Hello "+name+" !" > > s

Re: python-soappy

2006-01-12 Thread m.banaouas
Mikalai a écrit : >> While talking about SOAPpy module, I'm facing an authentication problem >> with it: >> >> I'm consuming a WebServices server requiring authentication, and I did >> not found yet how to give authentication code (username:password) while >> calling any mehode of the webservice. >

question about SOAPpy

2006-08-29 Thread m.banaouas
Hello Pythoneers: I would like to ask you a simple question: Are you satisfied by SOAPpy module? Actually, I use this module since a year and i immediately found it very well-implemented, corresponding to dynamic "meta-data" discovering nature of SOAP/WSDL. BUT i read sometimes threads saying

apache & mod_python

2006-12-08 Thread m.banaouas
Hi, bonjour, witch versions are suitable to use for apache & mod_python ? Can i install and use "Apache 2.2.3" & "mod_python 3.2.10" (most recent versions) without facing any known major issue ? thanks for any help. -- http://mail.python.org/mailman/listinfo/python-list

Apache 2.2.3 and mod_python 3.2.10

2006-12-19 Thread m.banaouas
I installed Apache 2.2.3 and mod_python 3.2.10 on WinXP plateform I configured mod_python via httpd.conf: LoadModule python_module modules/mod_python.so but my script folder configuration doesn't work correctely: Alias /myfolder D:/myfolder Order allow,deny Allow from all AddHand

Re: Apache 2.2.3 and mod_python 3.2.10

2006-12-19 Thread m.banaouas
sorry, I give here the right paths: I installed Apache 2.2.3 and mod_python 3.2.10 on WinXP plateform I configured mod_python via httpd.conf: LoadModule python_module modules/mod_python.so but my script folder configuration doesn't work correctely: Alias /myfolder D:/myfolder Order allow,

windows cetificates

2007-07-04 Thread m.banaouas
hi, is there any way to decrypt an email (already read with poplib, so available on client side) with python using a window certificate (those we can see on ie/internet options/content/certificates) ? the purpose is to decrypt an email sent and crypted by the sender with both his own certifica

Re: windows cetificates

2007-07-04 Thread m.banaouas
thank you I will take a look on capicom ... Roger Upole a écrit : > m.banaouas wrote: >> hi, >> >> is there any way to decrypt an email (already read with poplib, so available >> on client side) with python using a window >> certificate (those we can s

urllib2 and HTTPBasicAuthHandler

2007-01-16 Thread m.banaouas
Hi all, I started to use urllib2 library and HTTPBasicAuthHandler class in order to authenticate with a http server (Zope in this case). I don't know why but it doesn't work, while authenticating with direct headers manipulation works fine! WinXP Sp2 Python 2.4.4 Thanks in advance for your help

Re: urllib2 and HTTPBasicAuthHandler

2007-01-16 Thread m.banaouas
d_opener(auth_handler) urllib2.install_opener(opener) req = urllib2.Request(url) f = urllib2.urlopen(req) data = f.read() print data but it doesn't work: urllib2.HTTPError: HTTP Error 401: Unauthorized Max Erickson a écrit : > "m.banaouas" <[EM

Re: OpenOffice 2.0 UNO update Links; need help

2007-01-22 Thread m.banaouas
Sells, Fred a écrit : > I've got a ~100 page document I assemble from ~30 OOo .odt files with some > search and replace functions. I then produce a PDF. So far so good. > > Now I need to get a barcode from our internal website and insert that. The > barcode will vary based on some parameters.

file date/time on windows

2009-01-28 Thread m.banaouas
hi, I noticed recently that the value of file date/time I get with python: time.strftime('%Y-%m-%d %H:%M', time.gmtime(os.stat(fullname).st_mtime)) is forwarding by one hour the real file date/time. Example: file A.txt: 2009-01-18 16:13 returned valeur: 2009-01-28 15:13 Is there a simple way t

Re: file date/time on windows

2009-01-28 Thread m.banaouas
puter-folder. I gess that if computers of those users are in different timezones, they could see different file date ? MRAB a écrit : > m.banaouas wrote: >> hi, >> >> I noticed recently that the value of file date/time I get with python: >> time.strftime('%Y-%m-%d

ElementTree and clone element toot

2009-02-02 Thread m.banaouas
Hi all, Working with the ElementTree module, I looked for clone element function but not found such tool: def CloneElment(fromElem, destRoot = None) fromElem is the element to clone destRoot is the parent element of the new element ; if None so the new element will be child of fromElem parent. The

Re: ElementTree and clone element toot

2009-02-02 Thread m.banaouas
My python version is 2.4.4 def SubElement(parent, tag, attrib={}, **extra): Can you tell me how does "parent" issue could be solved by SubElement ? I'm looking for how to determine element parent just by asking element it self. It seems like element doesn't know witch is its parent, while any par

Re: Calling Web Services from Python

2006-04-09 Thread m.banaouas
Can you tell us more about SOAPpy bug ? Is it about authentication ? Ivan Zuzak a écrit : >... > I need a package/tool that generates web service proxies that will do > all the low-level HTTP work. (Someting like the WSDL.EXE tool in .NET > Framework) The ZSI and SOAPy packages [1] that i found