Python Hindi Tutorial 16 - File Handling

Опубликовано: 14 Май 2026
на канале: codebasics Hindi
14,963
236

In this tutorial, I will show you how to read and write files in python. This tutorial is for absolute beginners who are just starting out programming in python. We will cover readlines(), writelines() functions as well as how to open file using with statement. After that there is an interesting program to calculate statistics of cricket scores. In the end we have couple of interesting exercises for you to practice.
#PythonTutorialHindi #Python #PythonProgramming

Code used in this tutorial: https://github.com/codebasics/py/blob...
Exercise: https://github.com/codebasics/py/blob...

Topics
00:00 Overview
00:13 Read file
02:00 readlines()
03:14 Write file and file open modes
05:52 writelines
06:43 with statement
08:11 Cricket score statistics program
18:07 Exercise

Website: http://codebasicshub.com/
Facebook:   / codebasicshub  
Twitter:   / codebasicshub