Did I find the right examples for you? yes no

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

src/t/w/tweets2pdf-HEAD/tweets2pdf/tweets2pdf.py   tweets2pdf(Download)
    def start_button_clicked(self, widget, data= None):
        cfg = config.tp_cfg()
        if not cfg.load():
            self.show_warning('''
This is the first time you run tweets2pdf.
    def oauth_request_thread(self, param = None):
        cfg = config.tp_cfg()
        cfg.load()
 
        self.client = oauthapi.tpOAuth(http_proxy = {
    def save_btn_clicked(self, widget, data = None):
        cfg = config.tp_cfg()
        self.proxy_host = self.ph_entry.get_text()
        self.proxy_port = self.pp_entry.get_text()
        if self.hp_enable.get_active():
    def reset_btn_clicked(self, widget, data = None):
        cfg = config.tp_cfg()        
        cfg.set_api_base(API_BASE)
        cfg.set_oauth_base(OAUTH_BASE)
        cfg.set_output_path(config.get_home_dir())
    def fill_pref(self):
        cfg = config.tp_cfg()
        if not cfg.load():
            self.ab_entry.set_text(API_BASE)
            self.ob_entry.set_text(OAUTH_BASE)