File Handling in Python Assignment|Find Number of characters,words and lines in File|Python Tutorial

preview_player
Показать описание
File Handling in Python Assignment|Find Number of characters,words and lines in File|Python Tutorial
This video is part of file handling tutorial for beginners in hindi.In this video,i am going to write a python program for counting number of characters,number of words and number of lines in a file.Let's code...
queries covered:-
1) file handling tutorial
2) file handling assignment

Hello guys,welcome to codeyug to build your computer science skills.Here,you will learn programming tutorials and computer science tutorials from basics to advanced.

source code :-
Thanks for watching this video
Subscribe codeyug for more programming tutorials.
About this channel:-
This channel provides free tutorials on programming,coding,web development.There are programming tutorials which covers from basics to advanced absolutely in hindi.

Our social links:-
creator:-
------shantanu kejkar-------
Рекомендации по теме
Комментарии
Автор

sir.... please help me to prepare this program:

Q. Write a program to copy all the contents of one file to another file that stores all lower-case alphabets into lower.txt
upper-case alphabets into upper.txt
digits into digit.txt and rest of characters into rest.txt .

pinki
Автор

f = open("filename.txt", "r")
for k in f:
number_lines+=1
print(number_lines)

its not printing the number of help broo....

fearlesshellgamer
Автор

thank you so much brother
can I make some donations to you

shivamgupta
Автор

Python m keywords jo hote usko kaise print kr skte h kise text file m using file handling..

dark_legions
Автор

bro number of characters is 32 its a wrong programing output

sumanbehera