Checking if the running platform is windows. Returns ------- bool True if the running platform is windows.
()
| 68 | |
| 69 | |
| 70 | def is_platform_windows() -> bool: |
| 71 | """ |
| 72 | Checking if the running platform is windows. |
| 73 | |
| 74 | Returns |
| 75 | ------- |
| 76 | bool |
| 77 | True if the running platform is windows. |
| 78 | """ |
| 79 | return sys.platform in ["win32", "cygwin"] |
| 80 | |
| 81 | |
| 82 | def is_platform_linux() -> bool: |
no outgoing calls