Python COM does not seem to like me.

Courageous jkraska1 at san.rr.com
Fri Jun 23 22:11:36 EDT 2000


> 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/



More information about the Python-list mailing list