Python COM does not seem to like me.
millja at my-deja.com
millja at my-deja.com
Mon Jun 26 15:57:42 EDT 2000
More information about the Python-list mailing list
Mon Jun 26 15:57:42 EDT 2000
- Previous message (by thread): Python COM does not seem to like me.
- Next message (by thread): Python COM does not seem to like me.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Okay, Im sorry. Its all working now. I am not at all used to these stupid Windows computers where you have to restart after you do anything. Linux is so much nicer, too bad I dont have a say in what we use. Thanks again. jason In article <8j813b$if7$1 at nnrp1.deja.com>, millja at wwc.edu wrote: > Thanks! I still cant get the import issue taken care of though. I > have changed the PYTHONPATH key in the registry (WinNT server 4.0) to > include the dir in which the modual is contained in > c:\InetPub\BRC\case13.py. Then I include it using from case13 import > *. Is there something Im doing incorrectly? Any ideas? Thanks again. > jason > > In article <39541965.45DCE978 at san.rr.com>, > Courageous <jkraska1 at san.rr.com> wrote: > > > > > First off, is there something I dont know about the import > statement? > > > > The python module must either be in your PATH or your PYTHONPATH > > for python to be able to import the module, IIRC. > > > > > TypeError: cant multiply sequence with non-int > > > The statment is: > > > CM1 = roll[1] * roll[2] > > > I am pretty much positive roll[1] and roll[2] are ints. > > > > You'd know for sure if on the line before you wrote: > > > > print `roll[1]` + " " + `roll[2]` > > > > I suspect you're going to be surprised by the results. > > > > C/ > > > > Sent via Deja.com http://www.deja.com/ > Before you buy. > Sent via Deja.com http://www.deja.com/ Before you buy.
- Previous message (by thread): Python COM does not seem to like me.
- Next message (by thread): Python COM does not seem to like me.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list