pywin32 224
ActiveXObject constructor referenceActiveXObject name reference
SHA-2566852ceac5fdd7a146b570655c37d9eacd520ed1eaeec051ff41c6fc94243d8bf
Evidence
1# ADO enumerated constants documented on MSDN:
2# http://msdn.microsoft.com/en-us/library/ms678353(VS.85).aspx
3
4# IsolationLevelEnum
5adXactUnspecified = -1
6adXactBrowse = 0x100
7adXactChaos …
269:39… nied',
270 0xe8f :'adErrURLDoesNotExist',
271 0xe99 :'adErrURLNamedRowDoesNotExist',
272 0xe98 :'adErrUnavailable',
273 0xe84 :'adErrUnsafeOperation',
274 0xe95 :'adErrVolumeNotFound',
275 0xbbc …
1:25… B API 2.0 (PEP 249) interface to Microsoft ADO
2
3Copyright (C) 2002 Henrik Ekelund, versions 2.1 and later by Vernon Cole
4* http://sourceforge.net/projects/pywin32
5* https://github.com/mhammond/pywin32
6* http://sourceforge.net/projects/adodbapi
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the …
28:45… .0 or later.
29"""
30__version__ = '2.6.0.6'
31version = 'adodbapi v' + __version__
32
33import sys
34import copy
35import decimal
36import os
37
38from . import process_connect_string
39from . import ado_consts as adc
40from . import apibase as api
41
42try:
43 verbose = int(os.environ['ADODBAPI_VERBOSE'])
44except:
45 verbose = False
46if verbose:
47 print(version)
48
49# --- define objects to smooth out IronPython <-> CPy …
59:5… return obj.Item[index]
60else: # try pywin32
61 try:
62 import win32com.client
63 import pythoncom
64 import pywintypes
65 onWin32 = True
66 def Dispatch(dispatch):
67 return win32com.client.Dispatch(dispatch)
68 except ImportError:
69 import warnings
70 warnings.warn("pywin32 package (or IronPython) required for adodbapi.",ImportWarning)
71 def g …
Showing the top 5 files — 6 more files (136 regions) not shown.