A binary file “Book.dat” has structure [BookNo, Book_Name, Author, Price]
a) Write a user defined function CreateFile() to input data for a record and add to Book.dat file.
b) Write a function CountRec(Author) in Python which accepts the Author name as parameter and count and return number of books written by the given Author are stored in the binary file “Book.dat”
#education #computerscience #tutorial #computers #python #pythonprogramming #pythontutorial #pythonforbeginners #pythonbeginner
Nesta página do site você pode assistir ao vídeo on-line BINARY FILE QUESTION -1 (FILE HANDLING IN PYTHON) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário proco 15 Março 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 241 vezes e gostou 8 espectadores. Boa visualização!