def show_python_doc(self): if sys.platform == "win32": self.docPage = browser_widget.BrowserWidget("http://docs.python.org/") else: process = runner.start_pydoc() self.docPage = browser_widget.BrowserWidget(process[1], process[0]) self.add_tab(self.docPage, translations.TR_PYTHON_DOC)
def show_python_doc(self): if sys.platform == 'win32': self.docPage = browser_widget.BrowserWidget('http://pydoc.org/') self.add_tab(self.docPage, self.tr("Python Documentation")) else: process = runner.start_pydoc() self.docPage = browser_widget.BrowserWidget(process[1], process[0]) self.add_tab(self.docPage, self.tr("Python Documentation"))
def show_python_doc(self): if sys.platform == 'win32': self.docPage = browser_widget.BrowserWidget( 'http://docs.python.org/') else: process = runner.start_pydoc() self.docPage = browser_widget.BrowserWidget(process[1], process[0]) self.add_tab(self.docPage, translations.TR_PYTHON_DOC)
def show_python_doc(self): if sys.platform == 'win32': self.docPage = browser_widget.BrowserWidget( 'http://docs.python.org/') self.add_tab(self.docPage, _translate("_s_MainContainer", "Python Documentation")) else: process = runner.start_pydoc() self.docPage = browser_widget.BrowserWidget(process[1], process[0]) self.add_tab(self.docPage, _translate("_s_MainContainer", "Python Documentation"))
def show_python_doc(self): process = runner.start_pydoc() self.docPage = browser_widget.BrowserWidget(process[1], process[0]) self.add_tab(self.docPage, self.tr("Python Documentation"))
def _show_python_doc(self): process = runner.start_pydoc() docPage = Browser(process[1], process[0]) self.add_tab(docPage, 'Python Documentation')