View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
In C++ w/ Qt we'd use
Code:
int foo() {
#if defined Q_WS_MAEMO5 
/* */
#elif defined Q_WS_HARMATTAN
/* */
...
#endif
}
Can we do something like this in python3? I'd like to show a notification, which I can't do in a platform-agnostic way. (no libnotify on Fremantle)
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here