Data File Handling( Binary Files)

Publicado em: 07 Junho 2020
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Data File Handling( Binary Files) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Hello Python 07 Junho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 315 vezes e gostou 17 espectadores. Boa visualização!