sys.argv[0] is not showing the name of file in python
<p>If I understand correctly, When typing sys.argv[0] it shows the name of the .py file one is working on. But when I  do this, it shows me a different name: </p>

<pre><code>sys.argv[0]
'C:\\Anaconda\\lib\\site-packages\\spyderlib\\widgets\\externalshell\\start_ipython_kernel.py' 
</code></pre>

<p>The real name of the file is <em>'Ra x 13 arima.py'</em> and its located in <em>'C:\Users\infantjo\Documents\Python Scripts\Projects\Work in Progress'</em></p>

<p>The current directory  is:</p>

<pre><code>os.getcwd()
'C:\\Users\\infantjo\\Documents\\Python Scripts\\Projects'
</code></pre>

<p>What am I doing wrong?</p>

<p>(Im using Python 2.7.11 in Spyder 2.3.8 installed with Anaconda 2.3.0, 64bit).   </p>