title: Failure to add new directory path to run python script in terminal
body: <p>I know this has been discussed a bunch but nothing I have read online has worked. Note: I am a novice at terminal. Running Mac OS 10.14.5 Mojave</p>
  
  <p>I am able to run Python scripts in terminal if I first enter:</p>
  
  <pre><code>cd PythonScripts
  </code></pre>
  
  <p>(which is the folder they live in: <code>/Users/myname/PythonScripts</code>)</p>
  
  <p>My goal is to be able to run <code>./myscript.py</code> from terminal without having to tell it where to look each time, so I want to permanently add the PythonScripts folder to the directory path.</p>
  
  <p>I have tried <code>sudo nano /etc/paths</code> and added <code>/Users/myname/PythonScripts</code>
  I save and restart terminal and check it with <code>echo $PATH</code> and see it's been added. I then try <code>./myscript.py</code> and get the message: </p>
  
  <blockquote>
    <p>-bash: ./myscript.py: No such file or directory</p>
  </blockquote>
  
  <p>What am I doing wrong? Again, I don't know the lingo, just following what I read online. </p>