That's it! When the cost module is in the same folder as the script, we can import it just like a built-in module, without the .py extension.
cost
.py
Might it be that we can skip the .py extension?