Re: [python-win32] adodbapi and stored procedure output parameters on

2009-05-26 Thread Vernon Cole
According to PEP 249... .callproc(procname[,parameters]) Call a stored database procedure with the given name. The sequence of parameters must contain one entry for each argument that the procedure expects. The result of the call is returned

Re: [python-win32] writing hyphenated values in csv

2009-05-26 Thread Dahlstrom, Roger
Additionally, your csv file is *not* being auto-corrected. If this file is supposed to be able to be imported into things *other* than Excel, leave it alone and do not put an equals in front of it. If you were to open your file in Notepad or some other text editor, you'd see the value as you

[python-win32] win32job.SetInformtionJobObject usage -- what am I doing wrong?

2009-05-26 Thread Bob Erb
Hi. I want to create a Win32 job, then limit its memory use. I thought the code below would work, but it doesn't. What am I doing wrong? #code import win32job import win32security security_attrs = win32security.SECURITY_ATTRIBUTES() job = win32job.CreateJobObject(security_attrs, 'test job')

Re: [python-win32] win32job.SetInformtionJobObject usage -- what am I doing wrong?

2009-05-26 Thread Tim Roberts
Bob Erb wrote: I want to create a Win32 job, then limit its memory use. I thought the code below would work, but it doesn't. What am I doing wrong? #code import win32job import win32security security_attrs = win32security.SECURITY_ATTRIBUTES() job =

Re: [python-win32] adodbapi and stored procedure output parameters on

2009-05-26 Thread Randy Syring
Vernon Cole wrote: In this case, the proceedure outputs TWO record sets, since there are two SELECT statements. If the second select statement, select @param = 10 were changed to SET @param = 10 then, I believe, the result would have been as expected. Vernon, thanks for your comments. In

Re: [python-win32] adodbapi and stored procedure output parameters on

2009-05-26 Thread Vernon Cole
Randy: I am no longer employed by the company who supplied the SQL server I used to test on, and am stuck with SQLexpress on my laptop. No Query Analyzer. (Bah!) Clearly, either my test was invalid, or there is a difference in SQL versions. What version are you using? -- Vernon On Tue, May 26,

Re: [python-win32] adodbapi and stored procedure output parameters on

2009-05-26 Thread Randy Syring
Vernon, I have now also tested this with SQL Server Express 2005 on vista and am still getting an error. I am adding my previous email to you here for the benefit of the list: On both XP and Vista, I am using 2.2.5. I don't see a 2.2.6 on sourceforge. As for the SQL Server

[python-win32] overview of ntfs permissions ?

2009-05-26 Thread Stef Mientki
hello, is there a way to get an overview of ntfs permissions, of a specified part of a directory tree ? thanks, Stef Mientki ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32