When you want to apply a minor tweak to the document, it must not take long to Store line document. This kind of simple activity does not have to require extra training or running through handbooks to learn it. With the appropriate document modifying instrument, you will not take more time than is necessary for such a swift edit. Use DocHub to simplify your modifying process whether you are a skilled user or if it is the first time making use of an online editor service. This instrument will take minutes to figure out how to Store line document. The sole thing needed to get more productive with editing is a DocHub account.
A plain document editor like DocHub will help you optimize the time you need to dedicate to document modifying irrespective of your prior knowledge about this kind of resources. Create an account now and increase your efficiency immediately with DocHub!
hey finksters shubham here in todays video we are going to discuss how to read a file line by line and then store each line as an element into a list so what do i mean by that let me explain that to you so as you can see on the screen i have created a file by the name test.txt now it contains a few names now these are some well-known personalities and you might be knowing some of them these are some of the richest men and well-known men in the world so i purposely selected their names so that you know i can make the example pretty attractive to look at so lets get back to work now we want to read the file one line at a time so what does that mean like the first line first then the second and so on and then we want to store each line as an element in a list that is in this case each name will be stored in the list as a element so just to give you an idea you can have a look on the output screen we have all the names stored in a list one by one so jeff bezos is the first element in th