title: How to import other script in same dir?
body: <p>I am trying to put a few python scripts to scheduled and run in <code>main.py</code>. Those scripts are put in the same folder.</p>
  <p><code>main.py</code>:</p>
  <pre class="lang-py prettyprint-override"><code>import schedule
  import time
  from test1 import dd
  
  schedule.every(2).seconds.do(dd,fname)
  
  while True:
      schedule.run_pending()
      time.sleep(1)
  </code></pre>
  <p><code>test1.py</code>:</p>
  <pre><code>def dd(fname):
      print('hello' + fname)
  
  dd('Mary')
  dd('John')
  </code></pre>
  <p>It run out as those 2 name and  <code>name 'fname' is not defined</code>.</p>
  <p>How to define the argument at <code>main.py</code> file? If I have more than one <code>def</code> in the script, shall I need to import multiple times in the <code>main.py</code>
  and the script that I import at top of <code>main.py</code>, it run once before running the schedule? That mean it will run one while you import it?</p>