Aug-24-2023, 10:22 AM
hi
I open Python by searching python word in Windows search and then the Python is opened (python 3.11 window with dark blue color ). (Is this window called python shell?)
I save my files in D drive for example in D:\akb_py_projects .
When after >>> I write the name of a python file, for example echo.py, the below error is shown:
thanks
I open Python by searching python word in Windows search and then the Python is opened (python 3.11 window with dark blue color ). (Is this window called python shell?)
I save my files in D drive for example in D:\akb_py_projects .
When after >>> I write the name of a python file, for example echo.py, the below error is shown:
Error:Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'echo' is not defined
how can I open python files in the above address from the above python window?thanks