Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > RE: Package Problem, win32com

Reply
Thread Tools

RE: Package Problem, win32com

 
 
Tim Golden
Guest
Posts: n/a
 
      07-08-2004
| Following the example from the Python Win32 book, I type
| >>> from win32com import storagecon
| Traceback (most recent call last):
| File "<interactive input>", line 1, in ?
| ImportError: cannot import name storagecom
| >>>

Works ok for me. Same setup as yours.

Is that a dump from your console? I suspect not,
since the error is talking about "storagecom"
while the import refers to storagecon.

If you still can't get it to work, post back with
an exact screen dump (not a bitmap, just the text
cut-and-pasted).

TJG


__________________________________________________ ______________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
__________________________________________________ ______________________
 
Reply With Quote
 
 
 
 
Jon McLin
Guest
Posts: n/a
 
      07-08-2004
Hmmm. It was a cut and paste from the console, but I didn't grab the
entire text, so typed the "m/n>>>". Oops.

But, it worked fine when I tried it this morning. I will assume
something done earlier in the session yesterday led to the problem. If
I can duplicate, I will repost.

Thanks,
Jon


Tim Golden wrote:

> | Following the example from the Python Win32 book, I type
> | >>> from win32com import storagecon
> | Traceback (most recent call last):
> | File "<interactive input>", line 1, in ?
> | ImportError: cannot import name storagecom
> | >>>
>
> Works ok for me. Same setup as yours.
>
> Is that a dump from your console? I suspect not,
> since the error is talking about "storagecom"
> while the import refers to storagecon.
>
> If you still can't get it to work, post back with
> an exact screen dump (not a bitmap, just the text
> cut-and-pasted).
>
> TJG
>
>
> __________________________________________________ ______________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> __________________________________________________ ______________________

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Specification for win32com.client package Tim Golden Python 5 05-09-2007 07:36 PM
single package import v/s the entire package Parvinder Java 6 02-27-2005 02:02 PM
package module import name clash with global package George P Python 3 09-11-2004 01:19 PM
Package Problem, win32com Jon McLin Python 0 07-08-2004 04:46 AM
Importing a package and looping through modules in the package Dave Python 2 02-10-2004 08:14 PM



Advertisments