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

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
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/g/a/gajim-HEAD/src/common/connection_handlers.py   gajim(Download)
import socket
import sys
 
from time import (altzone, daylight, gmtime, localtime, mktime, strftime,
	time as time_time, timezone, tzname)
from calendar import timegm
 

src/g/r/graphite-web-0.9.6/webapp/graphite/render/glyph.py   graphite-web(Download)
limitations under the License."""
 
import os, cairo, math, itertools
from time import strftime, localtime, timezone, altzone, daylight, tzset, mktime
from calendar import timegm
from urllib import unquote_plus
from ConfigParser import SafeConfigParser

src/d/a/DateTime-2.12.5/src/DateTime/DateTime.py   DateTime(Download)
 
import re, math,  DateTimeZone
from time import time, gmtime, localtime
from time import daylight, timezone, altzone, strftime
from datetime import datetime
from interfaces import IDateTime
from interfaces import DateTimeError, SyntaxError, DateError, TimeError

src/s/p/spring-python-HEAD/src/springpython/jms/factory.py   spring-python(Download)
from struct import pack, unpack
from xml.sax.saxutils import escape
from binascii import hexlify, unhexlify
from time import time, mktime, strptime, altzone
from traceback import format_exc
 
try:

src/g/i/GitPython-HEAD/lib/git/objects/commit.py   GitPython(Download)
						altz_to_utctz_str,
						parse_actor_and_date
					)
from time import (
					time, 
					altzone
				)

src/g/i/GitPython-0.3.0-beta2/lib/git/objects/commit.py   GitPython(Download)
						altz_to_utctz_str,
						parse_actor_and_date
					)
from time import (
					time, 
					altzone
				)