Did I find the right examples for you? yes no

All Samples(401)  |  Call(378)  |  Derive(0)  |  Import(23)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/n/o/nose-alert-0.9.1/nosealert/notifications.py   nose-alert(Download)
import warnings
from .platform import PLATFORM, OSX, LINUX
from os import path
def notify(sender, title, message, success):
    if PLATFORM == OSX:
            from gntp.notifier import mini
            mini(message, sender, title=title, notificationIcon=get_icon(success))
        except ImportError:
            warnings.warn('Could not import gntp. Please install it to see alerts')
    elif PLATFORM == LINUX: