title: How to import a python .py file in Jupyter Notebook
body: <p>I have a Jupyter Notebook and I would like to use some credentials I have put into a config.py file. This file is in the same folder as the Jupyter Notebook.</p>
  <p>I use the line</p>
  <pre><code>import config
  </code></pre>
  <p>The problem is Jupyter replies with this message:</p>
  <pre><code>ModuleNotFoundError: No module named 'config.py'; 'config' is not a package
  </code></pre>
  <p>Thank you for your help</p>