How do I run my Python script? Why does the command line tell me “no such file or directory”?

Python cannot access the files in the subdirectory unless a path to it provided. You can access files in any directory by providing the path. python C:\Python27\Projects\hello.py

Leave a Comment