Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def determine_wm():
    if 'kde' in os.environ.get('DESKTOP_SESSION', '').lower():
        from linux_kde import Clip2ZeusKDE
        return Clip2ZeusKDE
    else:
        from linux_gtk import Clip2ZeusGTK
        return Clip2ZeusGTK
        


src/c/l/Clip2Zeus-1.5a/clip2zeus/common.py   Clip2Zeus(Download)
        elif platform in ('linux', 'linux2'):
            import linux
            return linux.determine_wm()
        else:
            raise UnsupportedPlatformError('%s is not currently supported!' % platform)