[ CLASS ] - Platform related class.
More...
[ CLASS ] - Platform related class.
◆ isWindows()
def mMeco.core.platformLib.Platform.isWindows |
( |
| ) |
|
|
static |
Check whether current platform is Windows.
- Exceptions
-
- Returns
- bool - Whether current platform is Windows.
◆ isWindows10()
def mMeco.core.platformLib.Platform.isWindows10 |
( |
| ) |
|
|
static |
Check whether current platform is Windows 10.
- Exceptions
-
- Returns
- bool - Whether current platform is Windows 10.
◆ isLinux()
def mMeco.core.platformLib.Platform.isLinux |
( |
| ) |
|
|
static |
Check whether current platform is Linux.
- Exceptions
-
- Returns
- bool - Whether current platform is Linux.
◆ isDarwin()
def mMeco.core.platformLib.Platform.isDarwin |
( |
| ) |
|
|
static |
Check whether current platform is OSX.
- Exceptions
-
- Returns
- bool - Whether current platform is OSX.
◆ system()
def mMeco.core.platformLib.Platform.system |
( |
| ) |
|
|
static |
Get the name of current platform.
Available names are listed in mMeco.platformLib.Name class.
- Exceptions
-
- Returns
- str - Platform name, one of the following, Darwin, Linux, Windows.
◆ getOthers()
def mMeco.core.platformLib.Platform.getOthers |
( |
| ) |
|
|
static |
Get all platform names but the current one.
- Exceptions
-
- Returns
- list of str - Platform names.
The documentation for this class was generated from the following file: