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()
        self._icons["state"][ExecutionState.PAUSED] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "state_paused.png"))
        self._icons["state"][ExecutionState.FINISHED] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "state_finished.png"))
        self._icons["state"][ExecutionState.NOT_RUN] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "state_notrun.png"))
        self._icons["time"]["delay"] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "time_delay.png"))
        self._icons["time"]["sleep"] = QtGui.QIcon(os.path.join(resourcesPath, "icons", "time_sleep.png"))

src/p/y/PyRQ-0.4.1/PyRQ/Ui/qt4/RRQDebugger/GlobalExecutioner.py   PyRQ(Download)
        self._workId = self.uId
        self._name = "%(C)s"%{"C":self.uId}
        self._state = ExecutionState.NOT_RUN
        self._enabled = True
        self._stepActions = None
            config["_delay_pre_"] = None
            config["_delay_post_"] = None
            config["_executing_"] = ExecutionState.NOT_RUN
            config["_details_"] = details
            config["_result_"] = None
        self._dirty = False
        self._currentIndex = -1
        self.state = ExecutionState.NOT_RUN
        for config in self.configs:
            config["_executing_"] = ExecutionState.NOT_RUN

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