Did I find the right examples for you? yes no

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/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/lib/masked/maskededit.py   einstein(Download)
            # Set to teletype font (guaranteed to be mappable to all wxWindows
            # platforms:
            self._font = wx.Font( font.GetPointSize(), wx.TELETYPE, font.GetStyle(),
                                 font.GetWeight(), font.GetUnderlined())
####            dbg('font string: "%s"' % font.GetNativeFontInfo().ToString())

src/f/f/ffse-1.0.1/ffse.py   ffse(Download)
        # Make it monospaced.
        oldfont = self.props_text.GetFont()
        newfont = wx.Font(oldfont.GetPointSize(), wx.TELETYPE,
                          oldfont.GetStyle(), oldfont.GetWeight())
        self.props_text.SetFont(newfont)

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/py/crust.py   einstein(Download)
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 

src/u/l/ulipad-HEAD/mixins/Import.py   ulipad(Download)
def showinfo(text):
    win = Globals.mainframe.statusbar
    win.show_panel('Command: '+text, color='#AAFFAA', font=wx.Font(10, wx.TELETYPE, wx.NORMAL, wx.BOLD, True))
 
def OnToolSearchCMDS(win, event):

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/py/frame.py   einstein(Download)
 
        dlg = wx.lib.dialogs.ScrolledMessageDialog(self, text, title, size = ((700, 540)))
        fnt = wx.Font(10, wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        dlg.GetChildren()[0].SetFont(fnt)
        dlg.GetChildren()[0].SetInsertionPoint(0)

src/w/x/wxPython-HEAD/Chapter-17/printing.py   wxPython(Download)
        # pixels between each line
        self.pageHeight = self.y2 - self.y1 - 2*self.logUnitsMM
        font = wx.Font(FONTSIZE, wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        dc.SetFont(font)
        self.lineHeight = dc.GetCharHeight() 
        self.tc = wx.TextCtrl(self, -1, "",
                              style=wx.TE_MULTILINE|wx.TE_DONTWRAP)
        self.tc.SetFont(wx.Font(FONTSIZE, wx.TELETYPE, wx.NORMAL, wx.NORMAL))
        filename = os.path.join(os.path.dirname(__file__), "sample-text.txt")
        self.tc.SetValue(open(filename).read())

src/w/x/wxAutoMine-HEAD/wxAutoMine.py   wxAutoMine(Download)
    vsz01 = wx.BoxSizer(wx.VERTICAL)
    self.map = wx.TextCtrl(self, style=wx.TE_MULTILINE)
    self.map.SetFont(wx.Font(8, wx.TELETYPE, wx.NORMAL, wx.NORMAL)) # wx.MODERN
    vsz01.Add(self.map, 4, wx.EXPAND)
    self.cap = wx.Panel(self, size=(PANELHW, PANELHH))

src/p/y/PyWebRun-0.0.3/src/gui.py   PyWebRun(Download)
 
		self.app = app #main application
		fnt = wx.Font(10, wx.TELETYPE, wx.NORMAL, wx.NORMAL)
 
		#commands field

src/w/x/wx_py-0.9.8.11/wx_py/crust.py   wx_py(Download)
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 
 
        df = self.GetFont()
        font = wx.Font(df.GetPointSize(), wx.TELETYPE, wx.NORMAL, wx.NORMAL)
        self.SetFont(font)
 

src/d/a/dabo-HEAD/ide/ReportDesigner.py   dabo(Download)
				fontName = "Times"
			elif "courier" in fontName.lower():
				fontFamily = wx.TELETYPE
				fontName = "Courier"
			elif "symbol" in fontName.lower():

  1 | 2  Next