[python-win32] Bug reporting

2018-02-17 Thread Max Slimmer
Bob, I'm pretty sure adodbapi is now part of the pywin32 project. And pywin32 moved to github a little bit ago. Maybe Vernon can confirm or deny but I think submitting issues there is the preferred route. --Max III On Sat, Feb 17, 2018 at 9:00 AM, wrote: >

[python-win32] sudo module

2018-02-17 Thread Max Slimmer
Vernon, This sounds really useful. I'm voting for pypi package. Package management is getting so much better and pypi seems to be pretty standard. --Max III On Sat, Feb 17, 2018 at 9:00 AM, wrote: > Send python-win32 mailing list submissions to > python-win32@python.org > > To subscrib

Re: [python-win32] datetime values in adodbapi

2017-11-06 Thread Max Slimmer
Coincidentally I ran into this issue last week. From what I could gather the MS SQL data type can accept values with no more than millisecond precision. This is true using parameterized statements through adodbapi and also T-SQL and implicit conversion from char to datetime. The type accepts up to

Re: [python-win32] adodbapi changing autocommit

2016-10-25 Thread Max Slimmer
mmit > off during a session? If so, I think that's a bug. PEP-249 has no hook > for explicitly starting a transaction, so adodbapi needs to always have > done BeginTrans before any meaningful operation. Am I missing something? > -- > Vernon Cole > > > On Mon, Oct 24,

Re: [python-win32] python-win32 Digest, Vol 163, Issue 6

2016-10-24 Thread Max Slimmer
) > > > -- Forwarded message -- > From: Tim Roberts > To: "python-win32@python.org" > Cc: > Date: Sun, 23 Oct 2016 14:59:27 -0700 > Subject: Re: [python-win32] adodbapi changing autocommit > On Oct 22, 2016, at 9:42 PM, Max Slimmer II

[python-win32] adodbapi changing autocommit

2016-10-23 Thread Max Slimmer III
Setting connection.autocommit = False does not cause a connection.connector.BeginTrans() and so any subsequent connection.commit() raises an exception that there is no open transaction. Is this by design and I'm supposed to explicitly call BeginTrans() when switching autocommit off? Thanks, M

Re: [python-win32] File name and version as dictionary key value

2012-05-02 Thread Max Slimmer
Filename_version_dir = dir([(nam,filename:get_file_version(nam)) for nam in filename_version_list]) This is a list comprehension which returns a list of (name,ver). You should look at http://docs.python.org/library/stdtypes.html# and pay attention to lists and mapping types (dict) and all the thi

Re: [python-win32] Passing an object to a process

2012-03-14 Thread Max Slimmer
If you are really just logging, use separate loggers/files, sync the clocks, and timestamp records, then merge when you are ready to process if you need timeline related results. On Wed, Mar 14, 2012 at 1:29 PM, Preston Landers wrote: > On Wed, Mar 14, 2012 at 2:55 PM, Tony Cappellini wrote: >>

Re: [python-win32] Passing an object to a process

2012-03-14 Thread Max Slimmer
depends what you mean by share logger object, you might be able to have logger on both apps share a common log file. OTH if you want realtime events, I pass a socket from one app to another and have implemented a proxy dialog so one app writes to the progress dialog proxy and it in turn sends data

Re: [python-win32] python card

2011-10-15 Thread Max Slimmer
pythoncard is not an application it is a library that contains some tools to enable you to create gui applications if I recall by dragging components onto a canvas. I will never put anything into start menu. Go to http://pythoncard.sourceforge.net/windows_installation.html and follow all the step

[python-win32] Problems with adodbapi

2011-10-03 Thread Max Slimmer
I am trying to access a sqlbase database, In the past I had no problem, but after re-installing python and win32 etc and therefore getting latest version of adodbapi I get the following symptom When I do cursor.execute("select xxx from sometable") and xxx contains one of the following columns as d