title: Calling python function from another file
body: <p>I am trying to reference a variable from one python file to another.</p>
  <p>I have a base file that has a variable value, <code>current_time</code> and I want to call this variable in another python function that is in another python file.</p>
  <p>This is what I tried doing:</p>
  <p>From the file I am trying to call the variable:</p>
  <pre><code>ref_path = os.path.split(os.getcwd())[0]
  ref_path = os.path.join(ref_path, &quot;folder_1&quot;, &quot;folder_2&quot;, &quot;folder_3&quot;)
  </code></pre>
  <p>Now that I am pointing to the destination folder when I try doing</p>
  <pre><code>from ref_path import function as function
   
  </code></pre>
  <p>I am getting an error <code>ModuleNotFoundError: No module named 'ref_path'</code></p>
  <p>I am trying to call <code>function.current_time</code></p>