PYTHON : DATA FILE HANLING
Write a method in python to read lines from a text file DIARY.TXT and display those lines which start with the alphabets P. def countp(): f=open("diary.txt","r") lines=0 l=f.readlines() for i in l: if i[0]='P': Write a method/function ISTOUPCOUNT() in python to read contents from a text file ... ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- data file formats definition
- types of data file formats
- common data file formats
- microsoft outlook data file error
- outlook data file missing
- microsoft outlook data file management
- outlook data file missing error
- outlook data file gone
- outlook 2016 data file cannot be accessed
- outlook 2013 data file management
- data file management outlook 2016
- outlook 2010 data file path