title: How to import python code in Jupyter notebook
body: <p>I'm trying to import a python code that has usernames, passwords, and auth keys saved to a Jupyter notebook without sharing that information directly in the code. These are just for tests but I've tried using:</p>
  <pre><code>   import sys 
     sys.path.insert(0, '/C:/user/phlf/saved_data/config.py')
     import file
  </code></pre>
  <p>I also tried</p>
  <pre><code>   %run &quot;~/C:user/phlf/saved_data/Config.py&quot;
  </code></pre>
  <p>Is there a way to import python file for Jupyter to use without posting the code directly in notebook?</p>