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

All Samples(23)  |  Call(23)  |  Derive(0)  |  Import(0)

src/u/l/ulipad-HEAD/mixins/FtpClass.py   ulipad(Download)
            #connect
            try:
                common.setmessage(self.mainframe, tr('Connecting to %s (%s:%s)...') % (site['name'],site['ip'], site['port']))
                self.ftp.connect(site['ip'], site['port'])
                flag, user, password = self.getuserpassword(self.cmbSite.GetSelection(), self.txtUser.GetValue(), self.txtPassword.GetValue())
                if not flag:
                    common.setmessage(self.mainframe, tr('Connection canceled'))
                    self.running = False
                    return
                common.setmessage(self.mainframe, tr('Logging in...'))
                self.ftp.login(user, password)
            except socket.error, msg:
            self.running = False
            self.ftp = None
            common.setmessage(self.mainframe, tr('Disconnected'))
            self.list.DeleteAllItems()
 
        #thread.start_new_thread(disconnect, (self,))
        disconnect(self)
 
    def OnEnter(self, event):
        common.setmessage(self.mainframe, tr('Retrieving the file...'))

src/u/l/ulipad-HEAD/plugins/blogedit/BlogManageWindow.py   ulipad(Download)
    def getposts(self, number=1, postid=''):
        common.setmessage(self.mainframe, tr('Getting entries...'))
        site = self.pref.blog_sites_info[self.pref.blog_sites[self.cmbSite.GetSelection()]]
        try:
            server = xmlrpclib.ServerProxy(site['url'])
            error.traceback()
            common.showerror(self.mainframe, msg)
        common.setmessage(self.mainframe, tr('Done'))
 
    def getpath(self, path, accountname):
            postid = data['postid']
 
        common.setmessage(self.mainframe, tr('Deleting entry...'))
        site = self.pref.blog_sites_info[self.pref.blog_sites[self.cmbSite.GetSelection()]]
        try:
            error.traceback()
            common.showerror(self.mainframe, msg)
        common.setmessage(self.mainframe, tr('Done'))
 
class BlogSiteManageDialog(wx.Dialog):

src/u/l/ulipad-HEAD/plugins/pylint_plugin/__init__.py   ulipad(Download)
        def f():
            try:
                common.setmessage(win, 'Pylint syntax checking...')
                try:
                    lint.Run([pyfile], Report(win.pylintsyntaxcheckwindow.list))
                except:
                    error.track()
            finally:
                common.setmessage(win, '')

src/u/l/ulipad-HEAD/plugins/svn_plugin/tools.py   ulipad(Download)
    def f():
        common.setmessage(begin_msg)
        try:
            try:
                func()
            if result:
                wx.CallAfter(result.finish)
            common.setmessage(end_msg)
    Casing.Casing(f).start_thread()
 

src/u/l/ulipad-HEAD/modules/callinmainthread.py   ulipad(Download)
    def f():
        common.setmessage(begin_msg)
        try:
            try:
                func()
            if result:
                wx.CallAfter(result.finish)
            common.setmessage(end_msg)
    Casing.Casing(f).start_thread()