Helpers¶
This module defines some helper code used internally by the browser_history
package.
Module defines Platform class enumerates the popular Operating Systems.
-
class
browser_history.utils.
Platform
(value)¶ An enum used to indicate the system’s platform
A value of 0 is reserved for unknown platforms.
Usage: To be used without instantiating like so:
linux = Platform.LINUX mac = Platform.MAC windows = Platform.WINDOWS
See
get_platform()
to infer the platform from the system.