title: Is there a way to import and run functions from saved .py files in a Jupyter notebook running on a Google Cloud Platform dataproc cluster?
body: <p>When running Jupyter notebook natively it is simple to import functions and utilities from a saved .py script.</p>
  <p>When I work in a Jupyter notebook running on a Google Cloud Platform dataproc cluster and try the same thing- (after having uploaded a .py script to my dataproc Jupyter notebook- it is therefore in the cloud***) I am unable to import the function into the (dataproc) notebook.</p>
  <p>Does anyone know how I can do this? Does it just have to do with figuring out the correct, but not obvious path? (I am trying to import a .py file from within the same folder as the Jupyter notebook, so if this were running natively it wouldn't require a path, but perhaps it is different with dataproc?</p>
  <p>*** I am not making the mistake of trying to import a desktop/native .py script into a GC dataproc notebook.</p>
  <p>Any help or leads would be very much appreciated!</p>