Not able to import file in jupyter notebook

I am not able to open any txt file in jupyter notebook.
I have checked the file name and also that the file is accessible by jupyter notebook.

Please help me to find out how to open txt file .

Hi @verma.deepanshu26
You need to specify the path of your text file along with the name of text file
Example :
file = open( “path/to/file/example.txt”, “r”)

Hope this might helps :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.