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

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
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/p/y/pyjs-HEAD/examples/employeeadmin/libemployeeadmin/view.py   pyjs(Download)
        self.roleProxy = self.facade.retrieveProxy(model.RoleProxy.NAME)
        self.viewComponent.updateRoleCombo(ApplicationConstants.RoleList,
                                           ApplicationConstants.ROLE_NONE_SELECTED)
 
    def getRolePanel(self):

src/p/y/pyjs-HEAD/examples/employeeadmin/libemployeeadmin/components.py   pyjs(Download)
    def onComboChange(self, sender, keyCode=None, modifiers=None):
        selected = self.roleCombo.getSelectedItemText()
        if  not selected \
            or selected[0] == ApplicationConstants.ROLE_NONE_SELECTED \
            or not self.user: