Exemplo n.º 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)
Exemplo n.º 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"))
Exemplo n.º 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)
Exemplo n.º 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"))
Exemplo n.º 5
0
 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"))
Exemplo n.º 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"))
Exemplo n.º 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"))
Exemplo n.º 8
0
 def _show_python_doc(self):
     process = runner.start_pydoc()
     docPage = Browser(process[1], process[0])
     self.add_tab(docPage, 'Python Documentation')