Hello!! I am using windows 10 with ipython 3.6.8 and i am facing a problem in which the command prompt is saying '[Errno 2] No such file or directory: pedulum.txt '. Even though i have downloaded and extracted it in the same folder as the python folder . I have even checked the path again and again and even uninstalled and re-installed python but it returns with the same error as before. Can you please help me to solve this problem because it is causing a delay in my learning. Thank You!!!
15777 visits
Outline:Open a file Open() function Different Modes of opening a file Read() method Read the content of the file line by line Read the entire content of the file Append the lines of a file to a list Close a file Demonstration using a txt file Splitlines() method
Open a file Open() function Different Modes of opening a file Read() method Read the content of the file line by line Read the entire content of the file Append the lines of a file to a list Close a file Demonstration using a txt file Splitlines() method
Show video info
Pre-requisite