win32com question

Uwe Schmitt schmitt at num.uni-sb.de
Fri May 25 11:05:49 EDT 2001


Alex Martelli <aleaxit at yahoo.com> wrote:

| Hmmm, funny.  Try the following...:

| D:\Python21>python
| Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32
| Type "copyright", "credits" or "license" for more information.
k
|>>> from win32com.client.gencache import EnsureDispatch as disp
|>>> x=disp('ADODB.Record')
|>>> import win32com.client as w
|>>> w.constants.adOpenDynamic
| 2
|>>>

| Does this work for you?  If not, you seem to have some serious
| installation problem and might want to uninstall your Python
| and install a known-good one (mine is standard 2.1 plus the
| win32all from ActiveState).  But first try removing the gen_py
| directory and running this again -- it might be corrupted,
| or something.

| If this snippet works, then there must be some problems in
| your code before this point...

thanks for your answer, i'll try it tonite.

yours, uwe
-- 
Uwe.Schmitt at num.uni-sb.de      Universität des Saarlandes
phone: +49 (0)681/302-2468     Geb. 36.1, Zi. 4.17, PF 151150
                               D-66041  Saarbrücken
http://www.rocksport.de        http://www.rocksport.de/first_ride.mp3




More information about the Python-list mailing list