ngdb.types
Defines helpful types and values for the library..
EntryType
Bases: Enum
Types of entry in a guide.
LONG
class-attribute
instance-attribute
LONG = 1
The record ID for a long entry in a Norton Guide database.
MENU
class-attribute
instance-attribute
MENU = 2
The record ID for a menu in a Norton Guide database.
SHORT
class-attribute
instance-attribute
SHORT = 0
The record ID for a short entry in a Norton Guide database.
is_long
classmethod
is_long(test)
is_menu
classmethod
is_menu(test)
NGDBError
Bases: Exception
Base exception of all exceptions in the library.
NGEOF
Bases: NGDBError
Type of an exception thrown when doing things at or past EOF.
UnknownEntryType
Bases: NGDBError
Type of an exception when faced with an unknown entry type.