DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Detect If You Are Inside Symbian

04.02.2009
| 2657 views |
  • submit to reddit
        // this little snippet allows you to do something if you are on Symbian...or not...

import sys
if sys.platform == 'symbian_s60':
      print 'Im on Symbian S60'
else:
      print 'maybe its not pyS60 after all'