Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The phrase from Com tells python to find a Python Module named Com. To be clear, it does not mean "find a file named". The statement you probably want is:

import Com.Com as Com

but I find this statement confusing to read, so what I tend to do is name the python file in lower case, and use the full name down in the code:

import com
c = com.Com()