How can we measure coverage of python executables, e.g., files that dont have .py extension. I am using coverage.py python tool

I am using python coverage.py tool to find the code coverage. But its not giving coverage report for python programs that dont have .py extension. Please help!