Determines the OS is Windows by using sys.platform Returns True if Windows :return: True if sys.platform indicates running Windows :rtype: (bool)
()
| 296 | |
| 297 | |
| 298 | def running_windows(): |
| 299 | """ |
| 300 | Determines the OS is Windows by using sys.platform |
| 301 | |
| 302 | Returns True if Windows |
| 303 | |
| 304 | :return: True if sys.platform indicates running Windows |
| 305 | :rtype: (bool) |
| 306 | """ |
| 307 | return sys.platform.startswith('win') |
| 308 | |
| 309 | |
| 310 | def running_trinket(): |
no outgoing calls
no test coverage detected