Beispiel #1
0
 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)
Beispiel #2
0
 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"))
Beispiel #3
0
 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)
Beispiel #4
0
 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/')
         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"))
Beispiel #6
0
 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"))
Beispiel #7
0
 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"))
Beispiel #8
0
 def _show_python_doc(self):
     process = runner.start_pydoc()
     docPage = Browser(process[1], process[0])
     self.add_tab(docPage, 'Python Documentation')