I'm trying to import a module that I created in Google Colab and use the functions therein in another module.
I've followed the instructions here which seems similar to other instructions, and have the following code:
from google.colab import drive
drive.mount('/content/drive')
import sys
sys.path.append('/content/drive/MyDrive/python_scripts/')
import myscript
dir(myscript)
I'm unable, however, to see the functions I created, and instead just see the following
['__builtins__',
'__cached__',
'__doc__',
'__file__',
'__loader__',
'__name__',
'__package__',
'__spec__']
I can't, then, access any of the functions within this module.
I've also created an __init__py file in the relevant folder, but that hasn't seemed to help.
Any ideas would be great!
Thanks!
Mike