title: How to import .py in google Colaboratory?
body: <p>I want to simplify code. so i make a utils.py  , but Google Colaboratory directory is "/content" I read other questions. but this is not my solution</p>
  
  <p><a href="https://stackoverflow.com/questions/47345004/in-googles-colab-notebook-how-do-i-call-a-function-from-a-python-file">In Google&#39;s Colab notebook, How do I call a function from a Python file?</a>   </p>
  
  <pre><code>%%writefile example.py
  def f():
   print 'This is a function defined in a Python source file.'
  # Bring the file into the local Python environment.
  execfile('example.py')
  f()
  This is a function defined in a Python source file.
  </code></pre>
  
  <p>It look likes just using def().<br>
  using this, i always write the code in cell.</p>
  
  <p>but i want to this code</p>
  
  <pre><code>import example.py
  example.f()
  </code></pre>