mbda x: x + y
> >
>
> In turn:
>
> makeadder = lambda y: lambda x: x + y
>
> Smells of Haskell.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Hi All,
Thanks guys for the reply. I now understand something. Since Im a newbie,
let me read over and over so that I will get the complete picture of
everyone's idea. :-)
Regards,
Kurian Thayil.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am a newbie in python and would like to learn GUI programming. I would like
to know what exactly is Partial Function Applicaton (functool.partial())? Or
how is it advantageous compared to normal functions? Or is there any
advantange? Thanks in advance.
Regards,
Kurian Thayil.
--
http
Got it fixed. It was a very silly mistake. mssg variable had each line with
indent. Removed the indent and it worked.
Regards,
Kurian Thayil.
On Tue, Sep 7, 2010 at 9:57 AM, Kurian Thayil wrote:
> Hi All,
>
> I am a newbie in python. Just 2-3 days old wanting to learn thi
MIME standard?).
Without the for-loop the script works fine. Can anyone advice?
*
#!/usr/bin/env python
import smtplib
for i in range(1,5):
print "I is ",i
fromaddr='kurianmtha...@gmail.com'
toaddr='kurianmtha...@gmail.com'
print toaddr
On Thu, May 6, 2010 at 2:42 PM, Chris Rebert wrote:
> On Thu, May 6, 2010 at 1:47 AM, Kurian Thayil
> wrote:
>
> > the expected output is 05:35:05.
> >
> > Now, here is code snippet,
> >
> > cursor1=getconnect1.cursor()
> >
ad of
05:35:05. How can I get this time format? Thanks in advance.
Regards,
Kurian Thayil.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 2010-03-24 at 20:15 -0700, Sean DiZazzo wrote:
> On Mar 24, 7:59 pm, Kurian Thayil wrote:
> > Hi All,
> >
> > I am just a month old with Python and trying to learn CGI with Python. I
> > was trying to install MySQLdb module in my new CentOS 5.3 box with
>
Hi All,
I am just a month old with Python and trying to learn CGI with Python. I
was trying to install MySQLdb module in my new CentOS 5.3 box with
Python 2.4.3 default install. I downloaded the tar-ball of MySQLdb
module (MySQL-python-1.2.3c1). Did build as normal user and install as
root. MySQL