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
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
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
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
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
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
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.
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
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
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,
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
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
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
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
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.
>
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
16 matches
Mail list logo