Checking if the running platform is linux. Returns ------- bool True if the running platform is linux.
()
| 80 | |
| 81 | |
| 82 | def is_platform_linux() -> bool: |
| 83 | """ |
| 84 | Checking if the running platform is linux. |
| 85 | |
| 86 | Returns |
| 87 | ------- |
| 88 | bool |
| 89 | True if the running platform is linux. |
| 90 | """ |
| 91 | return sys.platform == "linux" |
| 92 | |
| 93 | |
| 94 | def is_platform_mac() -> bool: |
no outgoing calls