Re: Top-posting &c. (was Re: [ANNC] pybotwar-0.8)

2012-08-16 Thread Madison May
ar posters; > > there are probably several *hundred* lurkers who feel the same way, > > but do not post (possibly because they cannot). Also, these mails get > > archived all over the internet, so a generation not yet born can read > > and be either enlightened or irrit

Re: A difficulty with lists

2012-08-16 Thread Madison May
oing on behind the scenes after your analysis. > > > Madison May wrote: > > > The list nlist inside of function xx is not the same as the variable > > > u outside of the function: nlist and u refer to two separate list > > > objects

Re: A difficulty with lists

2012-08-15 Thread Madison May
On Monday, August 6, 2012 3:50:13 PM UTC-4, Mok-Kong Shen wrote: > I ran the following code: > > > > def xx(nlist): > >print("begin: ",nlist) > >nlist+=[999] > >print("middle:",nlist) > >nlist=nlist[:-1] > >print("final: ",nlist) > > > > u=[1,2,3,4] > > print(u) > >

Re: A difficulty with lists

2012-08-15 Thread Madison May
On Monday, August 6, 2012 3:50:13 PM UTC-4, Mok-Kong Shen wrote: > I ran the following code: > > > > def xx(nlist): > >print("begin: ",nlist) > >nlist+=[999] > >print("middle:",nlist) > >nlist=nlist[:-1] > >print("final: ",nlist) > > > > u=[1,2,3,4] > > print(u) > >

Re: python sql query in django

2009-02-24 Thread May
On Feb 24, 10:36 am, "Diez B. Roggisch" wrote: > > Thanks for all your suggestions.  From what I've experienced in Django > > and now that I know a little more about how Python functions, I will > > probably use a combination of PHP and Django, instead of trying to get > > Python to do the web por

Re: python sql query in django

2009-02-24 Thread May
On Feb 23, 12:48 pm, Bruno Desthuilliers wrote: > May a écrit : > (snip) > > > I may not stay with Django. > > Nope, but your question was about Django. > > > I am seriously looking for whether python > > can read data from a relational database > > Of co

Re: python sql query in django

2009-02-23 Thread May
On Feb 23, 1:00 pm, Steve Holden wrote: > May wrote: > > On Feb 23, 11:31 am, Bruno Desthuilliers > > wrote: > >> May a écrit : > > >>> I have three tables: > >> Actually - from Python's code POV - three Model classes. And actually, > >

Re: python sql query in django

2009-02-23 Thread May
On Feb 23, 11:31 am, Bruno Desthuilliers wrote: > May a écrit : > > > I have three tables: > > Actually - from Python's code POV - three Model classes. And actually, > since there's a very active, friendly and helpful django group on > googlegroups, you'd

python sql query in django

2009-02-23 Thread May
I have three tables: class Technology(models.Model): technology = models.CharField(max_length=100, null=True, blank=True ) def __unicode__(self): return self.technology class Meta: ordering = ["technology"] class Publication(models.Model): pubtitle = models.TextFie

ImportError: DLL load failed

2008-06-27 Thread Tony May
as failed to start because the a pplication configuration is incorrect. Reinstalling the application may fix this problem. Thanks for any help Tony Reply Forward -- http://mail.python.org/mailman/listinfo/python-list

Re: A critic of Guido's blog on Python's lambda

2006-05-08 Thread Patrick May
[EMAIL PROTECTED] (Alex Martelli) writes: > ...an alleged reply to me, which in fact quotes (and responds to) > only to statements by Brian, without mentioning Brian... > > Mr May, it seems that you're badly confused regarding Usenet's > quoting conventions. It see

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Patrick May
[EMAIL PROTECTED] (Alex Martelli) writes: >> >> In my opinion (and that of several others), the best way for >> >> Python to grow in this regard would be to _lose_ lambda >> >> altogether, since named functions are preferable >> > >> > Why? I find the ability to create unnamed functions on th

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Patrick May
[EMAIL PROTECTED] (Alex Martelli) writes: > In my opinion (and that of several others), the best way for Python to > grow in this regard would be to _lose_ lambda altogether, since named > functions are preferable Why? I find the ability to create unnamed functions on the fly to be a signifi