hbutils.system.os

is_linux

hbutils.system.os.is_linux() → bool[source]
Overview:

Return True if current operating system is linux, otherwise return False.

Returns:

This OS is linux or not.

is_windows

hbutils.system.os.is_windows() → bool[source]
Overview:

Return True if current operating system is windows, otherwise return False.

Returns:

This OS is windows or not.

is_darwin

hbutils.system.os.is_darwin() → bool[source]
Overview:

Return True if current operating system is darwin, otherwise return False.

Returns:

This OS is darwin or not.

Note

Darwin is macos.

is_macos

hbutils.system.os.is_macos = <function is_darwin>
Overview:

Return True if current operating system is darwin, otherwise return False.

Returns:

This OS is darwin or not.

Note

Darwin is macos.