Where is the com module? Is it in the same directory as the main program or somewhere in the PYTHONPATH so your programs can find it?
Setting PYTHONPATH: https://www.techwalla.com/articles/how-t...ython-path
Setting PYTHONPATH: https://www.techwalla.com/articles/how-t...ython-path