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