Import python file from terminal
<p>I am trying to run a python file from my terminal. So when I run it I get the error below: </p>

<pre><code>Traceback (most recent call last):
File "evaluate_classifier.py", line 1, in &lt;module&gt;
import alarm_detection.classifier_selection.classifier_evaluation as clf_eval
ImportError: No module named alarm_detection.classifier_selection.classifier_evaluation
</code></pre>

<p>In my file I use this code:</p>

<pre><code>import alarm_detection.classifier_selection.classifier_evaluation as clf_eval
</code></pre>

<p>How can I import the python file classifier_evaluation from terminal (it is in a different directory)</p>

<p>Thanks.</p>