python : cant open file 'hw.py': [Errno 2] No such file or directory
<p><a href="https://i.stack.imgur.com/HyEHd.png" rel="nofollow">here my output looks like, please see this image</a>as I m new in this programing world, I m trying to do some python code, but it seems like my raspberry pi doesn't recognise my folder 
here it looks like 
python : cant open file 'hw.py': [Errno 2] No such file or directory
my path and folder is existed, and I save the file by .py extension still it shows not found , please help me guys....</p>

<pre><code>pi@raspberrypi :~/codes $ ls
hello hw.py 
pi@raspberrypi :~/codes $ python hw.py
python : cant open file 'hw.py': [Errno 2] No such file or directory 
</code></pre>

<p>hw.py file contains:- 
print "hello world"</p>

<p>IT CLEARLY SHOWS MY FILE "HW.PY" IS IN THAT FOLDER, BUT STILL RASPBERRY PI DOESN'TRECOGNIZING IT ? HELP ME GUYS </p>

<p>Okay so you need to save the file in the same directory as your IDE.</p>

python opencv raspberry-pi raspberry-pi3