Change the file name abc.py
for something else, like testo.py
and it will work.
from google.colab import files
upload = files.upload()
check with !ls
testo.py
Try:
import testo
testo.myfunction()
Explanation: abc
is a built-in module and you should not use that name for your modules. Check this question for more info.