How can I add a python script to the windows system path?
<p>I'm using windows cmd to run my python script. I want to run my python script withouth to give the cd command and the directory path.
I would like to type only the name of the python script and run it.</p>

<p>I'm using python 2.7</p>

<p>1.Go to  <strong>Environmental Variables</strong> >
 <strong>system variable</strong> > <strong>Path</strong> > <strong>Edit</strong></p>

<p>2.It look like this</p>

<p><strong><em>Path  C:\Program Files\Java\jdk1.8.0\bin;%SystemRoot%\system32;C:\Program Files\nodejs\;</em></strong></p>

<p>3.You can add semicolon (;) at the end and add <strong>C:\Python27</strong></p>

<p>4.After adding it look like this</p>

<p><strong>C:\Program Files\Java\jdk1.8.0\bin;%SystemRoot%\system32;C:\Program Files\nodejs\;C:\Python27;</strong></p>

python python-2.7 cmd