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

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
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/s/t/stratuslab-client-14.03.0/stratuslab/messaging/EmailClient.py   stratuslab-client(Download)
from stratuslab.messaging.MsgBase import MsgBase
from stratuslab.messaging.Defaults import MSG_SENDER_EMAIL
from stratuslab.messaging.Defaults import MSG_SMTP_HOST
        self.subject = self.subject or self.msg_queue
        self.recipient = self.recipient or self.msg_endpoint
        self.sender = self.sender or MSG_SENDER_EMAIL
    def send(self, message, attachment=''):