• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(42)  |  Call(0)  |  Derive(0)  |  Import(42)
int(x[, base]) -> integer

Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.  If base is zero, the proper base is guessed based on the
string content.  If the argument is outside the integer range a
long object will be returned instead.

src/p/y/PyAMF-HEAD/doc/tutorials/examples/actionscript/google_appengine/simplejson/scanner.py   PyAMF(Download)
"""
Iterator based sre token scanner
"""
import sre_parse, sre_compile, sre_constants
from sre_constants import BRANCH, SUBPATTERN
from re import VERBOSE, MULTILINE, DOTALL
import re
 
__all__ = ['Scanner', 'pattern']
 
FLAGS = (VERBOSE | MULTILINE | DOTALL)

src/p/y/PyAMF-HEAD/doc/tutorials/examples/actionscript/google_appengine/simplejson/decoder.py   PyAMF(Download)
except:
    _speedups = None
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

src/p/y/pyjamas-desktop-HEAD/pyjamas-webkit/examples/jsonrpc/public/services/simplejson/decoder.py   pyjamas-desktop(Download)
 
from simplejson.scanner import Scanner, pattern
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

src/p/y/pyjamas-desktop-HEAD/pyjamas-web/examples/jsonrpc/public/services/simplejson/decoder.py   pyjamas-desktop(Download)
 
from simplejson.scanner import Scanner, pattern
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

src/p/y/pyjamas-desktop-HEAD/pyjamas-khtml/examples/jsonrpc/public/services/simplejson/decoder.py   pyjamas-desktop(Download)
 
from simplejson.scanner import Scanner, pattern
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

src/m/a/mandible-HEAD/example/simplejson/scanner.py   mandible(Download)
 
NUMBER_RE = re.compile(
    r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?',
    (re.VERBOSE | re.MULTILINE | re.DOTALL))
 
def py_make_scanner(context):
    parse_object = context.parse_object

src/d/i/diksel-HEAD/trunk/thirdparty/pyjamasdev/examples/jsonrpc/public/services/simplejson/decoder.py   diksel(Download)
 
from simplejson.scanner import Scanner, pattern
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

src/d/i/diksel-HEAD/thirdparty/pyjamasdev/examples/jsonrpc/public/services/simplejson/decoder.py   diksel(Download)
 
from simplejson.scanner import Scanner, pattern
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

src/p/y/pyjamas-HEAD/src/examples/jsonrpc/public/services/simplejson/decoder.py   pyjamas(Download)
 
from simplejson.scanner import Scanner, pattern
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

src/p/y/pyjamas-0.7/examples/jsonrpc/public/services/simplejson/decoder.py   Pyjamas(Download)
 
from simplejson.scanner import Scanner, pattern
 
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
 
def _floatconstants():
    import struct

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next