#37 | Python Beginners Tutorial | File Handling | Reading and Writing in file in python tamil

Опубликовано: 23 Октябрь 2024
на канале: SANTRA TECHSPOT
23,007
457

Python Beginners Tutorial | File Handling | Reading and Writing in file in python tamil

Reading and Writing Files
The file object provides a set of access methods to make our lives easier. We would see how to use read() and write() methods to read and write files.

The write() Method
The write() method writes any string to an open file. It is important to note that Python strings can have binary data and not just text.

The write() method does not add a newline character ('\n') to the end of the string −
The read() Method
The read() method reads a string from an open file. It is important to note that Python strings can have binary data. apart from text data.

c tutorial link -    • C Programming Tutorials in Tamil | Pa...  

oops link -    • Learn Object Oriented Programming in ...  

html5 link -    • 1# Introduction to HTML5 programming ...  

css3 link -    • PART-1 INTRODUCTION TO  CSS3 AND ITS ...  

javascript link -    • PART-1 INTRODUCTION TO  CSS3 AND ITS ...  

python link    • #1 - Python Tutorial in Tamil | Intro...  

c tricks -    • ADD TWO NUMBERS WITHOUT USING ARITHME...  

c interview questions -    • Find The Output Of the Program in Tamil  

sample program -    • HOW TO WRITE C PROGRAM FOR BASIC ADDI...  

c++ program -    • PART-01 INTRODUCTION TO C++ PROGRAMMI...  

vb6 tutorial -    • Visual Basic 6 Tutorial in Tamil  

__
like our face book page..
  / santratechspot  
--------------------------------------------------------------------------------
send request our channel official facebookprofile...
  / santra.techspot.5  
---------------------------------------------------------------------------------

#santratechspot