Re: Python users in Stavanger, Norway?

2011-04-03 Thread Rafe Kettler
On Apr 3, 3:32 am, Austin Bingham wrote: > Hei! > > I'm a Python developer in Stavanger, Norway looking for other Python > users/developers/etc. who might be interested in starting a local user > group. Anyone interested? This group might actually evolve into a > general programming/computer group

Re: Decorator Syntax

2011-03-22 Thread Rafe Kettler
On Mar 21, 8:59 pm, Mike Patterson wrote: > In my Python class the other day, the professor was going over > decorators and he briefly mentioned that there had been this huge > debate about the syntax and using the @ sign to signify decorators. > > I read about the alternative forms proposed here

Re: What do you use with Python for GUI programming and why?

2011-03-11 Thread Rafe Kettler
On Mar 10, 9:25 pm, Robert wrote: > Is there a push to one toolkit or the other? > > -- > Robert I've mainly used Tkinter for a few reasons: - It's what I already know - It's pretty simple - Most people who have Python have it too, so there's no crazy dependencies - It looks decent on Gnome

Re: SCM

2011-03-08 Thread Rafe Kettler
On Mar 8, 7:21 am, Stefan Behnel wrote: > Cliff Scherer, 08.03.2011 12:42: > > > I am looking for a Python library, which can handle the modelling of > > material flows in Supply Chains. > > Note that TLAs do not always uniquely identify a subject. "SCM" is easily > read as "source code managemen

Re: having both dynamic and static variables

2011-03-03 Thread Rafe Kettler
> Finally, Python 3 introduced type annotations, which are currently a > feature looking for a reason. By type annotations, do you mean function annotations (see PEP 3107, http://www.python.org/dev/peps/pep-3107/)? Or is this some other feature that I'm unaware of? Rafe -- http://mail.python.org

Re: Python for embedded systems?

2011-02-23 Thread Rafe Kettler
On Feb 23, 6:53 pm, Paulito wrote: > Apologies if this has been asked; I haven't yet Googled the archives. > > From a brief email conversation, Guido pointed me to this newsgroup to > ask the following questions: > > "Is Python 'mature' enough to be considered the primary language for > embedded s

Re: Return Values & lambda

2011-02-21 Thread Rafe Kettler
On Feb 21, 7:59 pm, Steven D'Aprano wrote: > On Mon, 21 Feb 2011 16:43:49 -0800, Rafe Kettler wrote: > > On Feb 21, 1:59 pm, pradeepbpin wrote: > >> I have a main program module that invokes an input dialog box via  a > >> menu item. Now, the code for drawing an

Re: Return Values & lambda

2011-02-21 Thread Rafe Kettler
On Feb 21, 1:59 pm, pradeepbpin wrote: > I have a main program module that invokes an input dialog box via  a > menu item. Now, the code for drawing and processing the input of > dialog box is in another module, say 'dialogs.py'. I connect the menu > item to this dialog box by a statement like, >

Re: Python 3.2 and html.escape function

2011-02-21 Thread Rafe Kettler
On Feb 20, 8:15 am, Gerald Britton wrote: > I see that Python 3.2 includes a new module -- html -- with a single > function -- escape.  I would like to know how this function differs > from xml.sax.saxutils.escape and, if there is no difference (or only a > minor one), what the need is for this ne

Re: Python 3.2

2011-02-21 Thread Rafe Kettler
On Feb 21, 10:54 am, Duncan Booth wrote: > Georg Brandl wrote: > > Please consider trying Python 3.2 with your code and reporting any bugs > > you may notice to: > > >    http://bugs.python.org/ > > It looks like this release breaks the builtin `input()` function on Windows > by leaving a trailin