saving . . . saved File Not Found has been deleted. File Not Found has been hidden .
File Not Found
Title
Question
Hello! I am using python 3.6.8 and while doing the tutorial i have encountered an error ... I created the for loop statement in the notepad++ as instructed and saved it as sqrt_num_list.py but when i run it in the ipython console it says ERROR:root:File`'sqrt_num-list.py'` not found.I have kept my file in the path as entered in the environment variable for my user.  Can you please help me to solve my problem because it is causing me to delay my learning . Thank you !!

Python-3.4.3 Getting-started-with-for 03-04 min 20-30 sec 07-04-20, 12:19 p.m. Divyam_Sharma

Answers:

Your file should be in the directory where IPython is invoked.
In the IPython console, type ls or pwd commands (dir or cd for Windows). ls will list all the content of the directory. pwd will show you the present working directory. Verify if it is the same where your file is located.
If not then type  cd <path-to-the-file>to change the directory. Or else save the file in the directory where IPython is invoked.
07-04-20, 12:53 p.m. pratham920


Log-in to answer to this question.