Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
int(x=0) -> int or long
int(x, base=10) -> int or long

Convert a number or string to an integer, or return 0 if no arguments
are given.  If x is floating point, the conversion truncates towards zero.
If x is outside the integer range, the function returns a long instead.

If x is not a number or if base is given, then x must be a string or
Unicode object representing an integer literal in the given base.  The
literal can be preceded by '+' or '-' and be surrounded by whitespace.(more...)

src/p/y/PyRQ-0.4.1/PyRQ/Ui/qt4/RRQDebugger/Scripter.py   PyRQ(Download)
                       "command":{"generic":None, "create":None, "close":None, "put":None, "get":None, "qsize":None, "maxQSize":None},
                       "state":{ExecutionState.FINISHED:None, ExecutionState.NOT_RUN:None, ExecutionState.RUNNING:None, ExecutionState.PAUSED:None}}
    def show(self):
        super(Scripter, self).show()
    def _configureIcons(self):
        resourcesPath = self._resourcePath
        self._icons["enabled"][True] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "tree_tick.png"))
        self._icons["enabled"][False] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "tree_cross.png"))
        self._icons["state"][ExecutionState.RUNNING] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "state_running.png"))
            item.setText(1, "Status: Testing")
            self.tb.setStateIcon(item, ExecutionState.RUNNING)
    def _updateScriptPaused(self, script=None):
        #    The current script has paused, alter the tree to reflect this.
            if config["uId"]==uId:
                item = self._findConfig(script, config["uId"])
                self.tb.setStateIcon(item, ExecutionState.RUNNING)
    def _onExecutionStepResult(self, uId, kwargs, script):
        #    Script command result in...

src/p/y/PyRQ-0.4.1/PyRQ/Ui/qt4/RRQDebugger/GlobalExecutioner.py   PyRQ(Download)
        if self.state==ExecutionState.FINISHED:
        self.state = ExecutionState.RUNNING
        self._paused = False
        if self._stepActions==None:
    def _doActionCallIface(self, postDelay, **kwargs):
        #    Inspect the method signature for 'action' from the Iface and
        #    extract the given args from 'config' and populate the callable
        kwargs["_executing_"] = ExecutionState.RUNNING
        details = kwargs["_details_"]
        (value, isValid) = settings.value("state", ExecutionState.NOT_RUN).toInt()
        if isValid:
            if value==ExecutionState.RUNNING:
                value = ExecutionState.PAUSED
        ge._state = value

src/p/y/PyRQ-0.4.1/PyRQ/Ui/qt4/RRQDebugger/ScriptTreeNodes.py   PyRQ(Download)
                if (scripter._executing==None) or (scripter._executing==scripter._scripts.index(script)):
            elif script.state==ExecutionState.RUNNING:
        if isReadOnly==False: