File Matthau's in Biton.
So there are so many different methods out there.
And depending upon the input argument, variation.
Different methods are the same.
Methods may have different implications.
So here in this video, we shall be discussing different file methods in Python.
So here we are having some list of.
So let me discuss some of them at least.
So this is the method name and there is a description so close, close and open.
Fine.
And it has no effect if the file is already closed.
Detach separate.
The underlying binary buffer from the text are your best and return it.
Next one is a file, a no return.
An indigent no.
There is a file descriptor of the file.
So each and every file we need to get append.
Then it will be accessed with some file descriptor number.
So that number will be returned.
So using this method file in all that is a file number.
We're having this flash floods, the right buffer of the file stream.
So what about what characters are there in the in the buffer.
Right.
Buffer.
So they'll be cleared.
Our next one is there is a two way.
So it returns to the file stream is interactive.
So read n read at most in characters from the file.
Read till end of the file.
If it is a niggly or none.
We're having this readable.
So returns true if the file stream can be read from.
So that is a readable.
Will be returning boolean.
So either it will return true or false.
So read line in is equal to minus one.
So read and return one line from the file and reads in that most invites.
If specified.
So that is the invites are there.
And this minus one is there.
So read and return one line from the file and read at a reading at most invites.
And if the N is specified in the parameter.
We're having these red lines, but invisible to minus one.
So read and return a list of lines from the file and read in at most invites our characters.
If specified, then we're having this sick offset from is the girl to sick underscore set.
So change the file perdition to offset bias in different to from that is a start current and end.
So there is a file pointer will have some movement will have some progress depending upon the parameters.
What about are past.
Next one is a sequel.
Returns true if the file stream supports random access.
So if you can't go for the random accessing of the file content then need to return the output.
True.
So it returns boolean.
So next one is a till he returns the current file location.
So what is the where is the respective file point location to which location.
It is pointing to the current location will be returned here.
TRUNCATE site is equal to N one.
So this is the file stream, two site bytes.
And if the site is not specified, research to current location.
We're having this rateable returns.
True if the files team can be written to.
So in the so you are having different functions that are methods that you can easily pause the video
and go through them.
And obviously we shall we shall write some calls on them.
So here to see if previously we had red lines, so here that were in that case, we had ended the goal
to minus one, but here you see in is again two point one.
So what are their respective changes?
They're having almost the same methods, the same method lists are there.
But the input parameters are getting deferred.
So what does that changes, respectively?
That has been depicted in this method and that description column Bill returns the current file Lukash
on, say, December, because we're not passing any parameter to that truncate scientifical two in one.
So this saves the file stream to site bytes.
If the site is not specified, it S.H. to the current location.
So in this way, in this video, we Becka's different file methods available in bipartite.
Thanks for watching this video.