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
На этой странице сайта вы можете посмотреть видео онлайн BINARY FILE QUESTION -1 (FILE HANDLING IN PYTHON) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь proco 15 Март 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 241 раз и оно понравилось 8 зрителям. Приятного просмотра!