t.p.r.Platform : class documentation

Part of twisted.python.runtime View Source View In Hierarchy

Gives us information about the platform we're running on
Method __init__ Undocumented
Method isKnown Do we know about this platform?
Method getType Return 'posix', 'win32' or 'java'
Method isMacOSX Return if we are runnng on Mac OS X.
Method isWinNT Are we running in Windows NT?
Method isWindows Undocumented
Method isVista Check if current platform is Windows Vista or Windows Server 2008.
Method supportsThreads Can threads be created?
Method supportsINotify Return True if we can use the inotify API on this platform.
def __init__(self, name=None): (source)
Undocumented
def isKnown(self): (source)
Do we know about this platform?
def getType(self): (source)
Return 'posix', 'win32' or 'java'
def isMacOSX(self): (source)
Return if we are runnng on Mac OS X.
def isWinNT(self): (source)
Are we running in Windows NT?
def isWindows(self): (source)
Undocumented
def isVista(self): (source)
Check if current platform is Windows Vista or Windows Server 2008.
ReturnsTrue if the current platform has been detected as Vista (type: bool )
def supportsThreads(self): (source)
Can threads be created?
def supportsINotify(self): (source)
Return True if we can use the inotify API on this platform.
Present Since10.1
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.