Part of twisted.python.runtime View Source View In Hierarchy
| Method | __init__ | Undocumented |
| Method | isKnown | Do we know about this platform? |
| Method | getType | Get platform type. |
| Method | isMacOSX | Check if current platform is Mac OS X. |
| Method | isWinNT | Are we running in Windows NT? |
| Method | isWindows | Are we running in Windows? |
| Method | isVista | Check if current platform is Windows Vista or Windows Server 2008. |
| Method | isLinux | Check if current platform is Linux. |
| Method | supportsThreads | Can threads be created? |
| Method | supportsINotify | Return True if we can use the inotify API on this
platform. |
| Returns | Boolean indicating whether this is a known platform or not. (type: bool) | |
| Returns | True if the current platform has been detected as OS X. (type: bool) | |
This is deprecated and always returns True on win32 because
Twisted only supports Windows NT-derived platforms at this point.
| Returns | True if the current platform has been detected as Windows NT. (type: bool) | |
| Returns | True if the current platform has been detected as Windows. (type: bool) | |
| Returns | True if the current platform has been detected as Vista (type: bool) | |
| Returns | True if the current platform has been detected as Linux. (type: bool) | |
| Returns | True if the threads are supported on the current platform. (type: bool) | |
True if we can use the inotify API on this
platform.| Present Since | 10.1 | |