Python Basics File Object Seek Method

preview_player
Показать описание
Learn how to use the file object seek method. Seek moves the cursor to a new position in the file.

twitter: @python_basics
Рекомендации по теме
Комментарии
Автор

For those that didn't quite understand this video, tell( ) and seek( ) are nothing more than cursor methods. A cursor is a movable indicator on a computer screen identifying the point that will be affected by input from the user, for example showing where typed text will be inserted. tell(), tells you where the cursor is located in the file. seek() changes the cursor's position in a file. Great video explanation !

charly
Автор

I followed along with your video and then added items to the shopping list. When I entered file.read(), there were my new items along with what I entered on a previous day – cool.

daxpicture
Автор

How to read specifc line and then write at specific line?

ManinderSinghSidhu
Автор

Simple and Easy ( cours magistral), Thanks

abdelkaderaliabdelkader
Автор

Thank you. I got the concept cleared :)

ananttrivedi
Автор

Could you please put more programs in file handling- binary files

sunithabinu