PYTHON : DATA FILE HANLING
Write a Python program to count the word ^if ^ in a text file abc.txt [. file=open("abc.txt","r") c=0 line = file.read() word = line.split() for w in word: if w=='if': print( w) c=c+1 print(c) file.close() Write a method in python to read lines from a text file DIARY.TXT and display those lines which start with the alphabets P. ................
................
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- python programming 1 variables loops and input output
- basic python programming for loops and reading files
- python programming an introduction to computer science
- python regular expressions
- reading and writing vector data with ogr
- working with files in python
- python data file hanling
- data files in python
- part 5 the python language
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