Data File Handling( Binary Files)

Опубликовано: 07 Июнь 2020
на канале: Hello Python
315
17

Binary files in Python
Most of the files that we see in our computer system are called binary files.

Example:

Document files: .pdf, .doc, .xls etc.
Image files: .png, .jpg, .gif, .bmp etc.
Video files: .mp4, .3gp, .mkv, .avi etc.
Audio files: .mp3, .wav, .mka, .aac etc.
Database files: .mdb, .accde, .frm, .sqlite etc.
Archive files: .zip, .rar, .iso, .7z etc.
Executable files: .exe, .dll, .class etc.
All binary files follow a specific format. We can open some binary files in the normal text editor but we can’t read the content present inside the file. That’s because all the binary files will be encoded in the binary format, which can be understood only by a computer or machine.

For handling such binary files we need a specific type of software to open it.

For Example, You need Microsoft word software to open .doc binary files. Likewise, you need a pdf reader software to open .pdf binary files and you need a photo editor software to read the image files and so on.

A Python program to demonstrate file operations for tell(), seek() functions and copying content from one file to another.

In this tutorial, we’ll be learning the file operations like tell() and seek() and also will learn


На этой странице сайта вы можете посмотреть видео онлайн Data File Handling( Binary Files) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Hello Python 07 Июнь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 315 раз и оно понравилось 17 зрителям. Приятного просмотра!