def __init__(self, title, speaker, publish_year, time, price, language, status=None, listen_time=None, progress=0): ''' :param title: :param speaker: :param publish_year: :param time: :param price: :param language: :param status: :param listen_time: :param progress: ''' # inherent attribute from Media class and initialize Media.__init__(self, title, publish_year, price, language) self.speaker = speaker self.time = time self.listen_time = listen_time self.status = status self.progress = progress # append attribute of Podcast_episode class to podcast_shelf list Podcast_episode.podcast_shelf.append(self)
def __init__(self, title, author, publish_year, pages, price, language, pages_read=None, status=None, progress=0): ''' :param title: :param author: :param publish_year: :param pages: :param price: :param language: :param pages_read: :param status: :param progress: ''' # inherent attribute from Media class and initialize Media.__init__(self, title, author, publish_year, price, language) self.pages = pages self.pages_read = pages_read self.status = status self.progress = progress # append attribute of Book class to bookshelf list Book.bookshelf.append(self)
def __init__(self, media): Media.__init__(self, media[0], media[1], media[2], media[3], media[4], media[5], media[7], media[8], media[9]) self.media = media self.episode = media[11] self.company = 'company' self.subject = 'subject' self.genre = 'genre' self.duration = 'duration'
def __init__(self,calln,title_book,subjs,author,descp,publisher,citybook,year,series,notes): Media.__init__(self, calln, title_book, subjs, notes) self.author = author self.descp = descp self.publisher = publisher self.citybook = citybook self.year = year self.series = series
def __init__(self, callno, title, subject, author, description, publisher, city, year, series, notes): Media.__init__(self, callno, title, subject, notes) self.author = author self.description = description self.publisher = publisher self.city = city self.year = year self.series = series
def __init__(self, calln,title_book,subj,author,descp,publisher,history,seriess,notess,relat_title,othr,gvt): Media.__init__(self,calln,title_book,subj,notess) self.author = author self.descp = descp self.publisher =publisher self.history = history self.seriess = seriess self.relat_title = relat_title self.othr = othr self.gvt =gvt
def __init__(self, callno, title, subject, author, description, publisher_hist, series, notes, related_title, other_title, gov_doc_no): Media.__init__(self, callno, title, subject, notes) self.author = author self.description = description self.publisher_hist = publisher_hist self.series = series self.related_title = related_title self.other_title = other_title self.gov_doc_no = gov_doc_no
def __init__(self, title, author, publish_year, pages, price, language, pages_read=0, status=None, progress=0): Media.__init__(self, title, author, publish_year, price, language) self.pages = pages self.pages_read = pages_read self.status = status self.progress = progress
def __init__(self, title, speaker, publish_year, time, price, language, status=None, listen_time=0, progress=0): Media.__init__(self, title, publish_year, price, language) self.speaker = speaker self.time = time self.status = status self.listen_time = listen_time self.progress = progress
def __init__(self, callno,title,subject,description,distributor,notes,series,lable): Media.__init__(self,callno,title,subject,notes) self.description = description self.distributor = distributor self.series = series self.lable = lable
def __init__(self, calln,title_book,subj,descp,distri,notess,seriess,label): Media.__init__(self,calln,title_book,subj,notess) self.descp = descp self.distri = distri self.seriess = seriess self.label = label
def __init__(self, callno, title, subject, director, notes, year): Media.__init__(self, callno, title, subject, notes) self.director = director self.year = year
def __init__(self,calln,title_book,subj,director,notess,year): Media.__init__(self,calln,title_book,subj,notess) self.director = director self.year = year