nellina <[EMAIL PROTECTED]> wrote:
> At Thursday 23/11/2006 06:52, Rudy Schockaert wrote:
>
> >After some Googling I found a post of someone who wanted to do exactly
> >as what I want to do now.
> >There is however a problem in his code that makes the service fails
> >
;C:\Python24\lib\xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "C:\Python24\lib\xmlrpclib.py", line 1137, in request
headers
ProtocolError:
Can someone help me in creating a windows service that allows me to
handle XMLRPC request?
Thanks in advance,
Rudy Schockaert
--
http://mail.python.org/mailman/listinfo/python-list
I use the following script:from win32com.client import GetObject, Dispatchuser=''password=''default_naming_context = GetObject("LDAP://rootDSE").Get("defaultNamingContext")ad = GetObject("LDAP:").OpenDSObject("LDAP://%s" % default_naming_context, user, password, 1 + 512)
If user & password contain
Thanks a lot Skip. Sure that this will help.
Learned two things: how to do it and to look at the docs for 2.5 also.
These samples are not in the 2.4.2 reference guide.
RudyOn 2/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Rudy> I'm having problems writing unicode to a csv file.Rud
Forgot to mention that I work on Windows XP and Windows 2003.On 2/23/06, Rudy Schockaert <[EMAIL PROTECTED]
> wrote:I'm having problems writing unicode to a csv file.I use the following code:
-import codecsimport csvcsvfile = csv.writer(codecs.open('filenam
I'm having problems writing unicode to a csv file.I use the following code:-import codecsimport csvcsvfile = csv.writer(codecs.open('filename.csv','w+','utf-8'))a = u'\xc9'
csvfile.writerow([a,a])
-It fails with the message: UnicodeEncodeError: 'ascii
You could also use the excellent active_directory module of Tim Golden (http://tgolden.sc.sabren.com/python/active_directory.html)Your query would then become:
import active_directoryfor person in active_directory.search ("objectClass='user'","name='Roger*'"): print person.displayName
On 2/17/06,
Activestate just bundles teh standard python with the pywin32 module of Mark Hammond and provides the documentation in a handy one-file CHM format.Besides that there is no difference as far as I know.
On 12/14/05, S.Chang <[EMAIL PROTECTED]> wrote:
Hi,Anyone knows the difference(s) between the Pyt
Indeed, and a huge success in the TurboGears project. Check it out.On 11/15/05, Larry Bates <[EMAIL PROTECTED]
> wrote:Roger Erens wrote:> Hello,>> I remember that the first time I read about Python as a programming
> language was when reading the W3C's HTML 4.01 specification a few years> ago. In
• Do think clearly before writing.
You should start thinking before you write something. Do you really think anyone takes you serious the way you talk?I haven't seen anything constructive yet from your side. You always have to comment, why don't you start writing documentation yourself if it bothe
10 matches
Mail list logo