Solved

How to use ADODB objects in Python?

Posted on 2009-07-07
2
452 Views
Last Modified: 2013-11-25
Hi Experts:

    I am writing a Python program that needs to use ADODB to run SQL commands. However, the program needs to be run in under a restrictive policy that does not allow many third party softwares including Python for Windows extensions (win32com.client), which means I cannot do something like
******************************************************
con = win32com.client.Dispatch("ADODB")
******************************************************

    I may also need to use other COM or NET objects in Python, what shall I do?
    Thank you!
0
Comment
Question by:huangs3
2 Comments
 
LVL 39

Accepted Solution

by:
Roger Baklund earned 500 total points
ID: 24799728
"...does not allow many..."

Does it allow some?

http://phplens.com/lens/adodb/adodb-py-docs.htm
0
 

Author Comment

by:huangs3
ID: 24815513
Thanks cxr. Seems cannot avoid. It was very lucky that I found the company allows the Python Win Extension.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl Frameworks 1 90
mapBully challenge 6 134
firstChar challenge 13 115
How to scan rdp  ''only'' open port 3333? 5 117
Dictionaries contain key:value pairs. Which means a collection of tuples with an attribute name and an assigned value to it. The semicolon present in between each key and values and attribute with values are delimited with a comma.  In python we can…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This video teaches viewers about errors in exception handling.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question