cModules.PythonTerminal.PythonTerminalExt module#

gmtime([seconds]) (tm_year, tm_mon, tm_mday, tm_hour, tm_min,#
tm_sec, tm_wday, tm_yday, tm_isdst)
Convert seconds since the Epoch to a time tuple expressing UTC (a.k.a.
GMT). When ‘seconds’ is not passed in, convert the current time instead.
If the platform supports the tm_gmtoff and tm_zone, they are available as
attributes only.
strftime(format[, tuple]) string#
Convert a time tuple to a string according to a format specification.
See the library reference manual for formatting codes. When the time tuple
is not present, current time as returned by localtime() is used.
Commonly used format codes:
%Y Year with century as a decimal number.
%m Month as a decimal number [01,12].
%d Day of the month as a decimal number [01,31].
%H Hour (24-hour clock) as a decimal number [00,23].
%M Minute as a decimal number [00,59].
%S Second as a decimal number [00,61].
%z Time zone offset from UTC.
%a Locale’s abbreviated weekday name.
%A Locale’s full weekday name.
%b Locale’s abbreviated month name.
%B Locale’s full month name.
%c Locale’s appropriate date and time representation.
%I Hour (12-hour clock) as a decimal number [01,12].
%p Locale’s equivalent of either AM or PM.
Other codes may be available on your platform. See documentation for
the C library strftime function.
SendSafeStr(source)[source]#
SendSafeHtml(source)[source]#
class MainWindow[source]#

Bases: QMainWindow

textChanged#
iStayOnTop = False#
scriptSource: cHostScriptSource = None#
PyInputLine(lineIn)[source]#
AutoComplete(var_path)[source]#
ShowDoc(var_path)[source]#
DataSearch(var_path, targ, showDoc=True)[source]#
DataSearchUpdate()[source]#
DataSearchInput(var_path)[source]#
DataSearchEditor(var_path)[source]#
AddMenuItem(aMenu, aName, aIcon, aShorcut, aStatusTip, aAction)[source]#
AddMenuItemCM(aMenu, aName, aIcon, aShorcut, aStatusTip, aCommand)[source]#
changeStayOnTop()[source]#
closeEvent(self, event: PySide6.QtGui.QCloseEvent, /) None[source]#
staticMetaObject = PySide6.QtCore.QMetaObject("MainWindow" inherits "QMainWindow": Methods:   #39 type=Signal, signature=textChanged(QString), parameters=QString   #40 type=Slot, signature=PyInputLine(QString), parameters=QString   #41 type=Slot, signature=AutoComplete(QString), parameters=QString   #42 type=Slot, signature=ShowDoc(QString), parameters=QString   #43 type=Slot, signature=DataSearch(QString), parameters=QString   #44 type=Slot, signature=DataSearchInput(QString), parameters=QString   #45 type=Slot, signature=DataSearchEditor(QString), parameters=QString )#
class PythonTerminal[source]#

Bases: PythonTerminal

OnRunScript(self: PythonTerminal) None[source]#
OnActivate(self: PythonTerminal) None[source]#
OnShow(self: PythonTerminal) None[source]#
ApplyBuf(replace_last)[source]#
OnMessage(self: PythonTerminal, type_name: str, message: str, code: str, message_time: SupportsInt, replace_last: bool) None[source]#
lastUpdateData = 0#
postprocess()[source]#