Data File Handling( Binary Files)

Publicado el: 07 junio 2020
en el 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


En esta página del sitio puede ver el video en línea Data File Handling( Binary Files) de Duración hora minuto segunda en buena calidad , que subió el usuario Hello Python 07 junio 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 315 veces y le gustó 17 a los espectadores. Disfruta viendo!