All Samples(544) | Call(9) | Derive(3) | Import(532)
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/z/o/zope.app.twisted-3.5.0/src/twisted/spread/jelly.py zope.app.twisted(Download)
from types import UnicodeType
except ImportError:
UnicodeType = None
from types import IntType
from types import TupleType
from types import ListType
from types import LongType
src/i/r/ironruby-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Doc/docutils/nodes.py ironruby(Download)
import os
import re
import warnings
from types import IntType, SliceType, StringType, UnicodeType, \
TupleType, ListType, ClassType, TypeType
from UserString import UserString
src/b/a/banyanims-HEAD/trunk/dependencies/zope-instance-2.7.4-0/Products/Archetypes/Field.py banyanims(Download)
from copy import deepcopy from cgi import escape from cStringIO import StringIO from types import ListType, TupleType, ClassType, FileType, DictType, IntType from types import StringType, UnicodeType, StringTypes from AccessControl import ClassSecurityInfo
src/z/e/zenoss-HEAD/trunk/Products/PluggableAuthService/UserPropertySheet.py zenoss(Download)
$Id: UserPropertySheet.py 70450 2006-09-30 19:01:58Z rafrombrc $ """ from types import IntType from types import FloatType from types import LongType from types import TupleType
src/b/a/bases-HEAD/trunk/bases/thirdparty/jecode.py bases(Download)
return r
from types import NoneType, IntType, LongType, FloatType, DictType, ListType
from types import TupleType, StringType, UnicodeType, BooleanType
# Encode integers
src/b/a/banyanims-HEAD/dependencies/zope-instance-2.7.4-0/Products/Archetypes/Field.py banyanims(Download)
from copy import deepcopy from cgi import escape from cStringIO import StringIO from types import ListType, TupleType, ClassType, FileType, DictType, IntType from types import StringType, UnicodeType, StringTypes from AccessControl import ClassSecurityInfo
src/z/e/zenoss-HEAD/Products/PluggableAuthService/UserPropertySheet.py zenoss(Download)
$Id: UserPropertySheet.py 70450 2006-09-30 19:01:58Z rafrombrc $ """ from types import IntType from types import FloatType from types import LongType from types import TupleType
src/b/a/bases-HEAD/bases/thirdparty/jecode.py bases(Download)
return r
from types import NoneType, IntType, LongType, FloatType, DictType, ListType
from types import TupleType, StringType, UnicodeType, BooleanType
# Encode integers
src/b/a/banyanims-HEAD/trunk/dependencies/zope-instance-2.7.4-0/Products/Archetypes/utils.py banyanims(Download)
from time import time from inspect import getargs, getmro from md5 import md5 from types import TupleType, ListType, ClassType, IntType, NoneType from types import UnicodeType, StringType, MethodType from UserDict import UserDict as BaseDict
src/b/t/btqueue-HEAD/trunk/btqueue/BitTornado/bencode.py btqueue(Download)
# Written by Petru Paler, Uoti Urpala, Ross Cohen and John Hoffman
# see LICENSE.txt for license information
from types import IntType, LongType, StringType, ListType, TupleType, DictType
try:
from types import BooleanType
except ImportError:
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next