Re: [Tutor] Sending email from windows python

2006-12-25 Thread mobiledreamers
indigo is paid do u know free windows smtp servers On 12/25/06, ALAN GAULD <[EMAIL PROTECTED]> wrote: > How do we run sendmail from windows Searching Google for 'sendmail windows' gave me this: http://www.indigostar.com/sendmail.htm as the first link... > I found Xmail > > http://www.xmai

Re: [Tutor] idle and version

2006-12-25 Thread Luke Paireepinart
Another where I replied off-list. :( On 12/26/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Python is installed just like any other program. If you install Counter-Strike 1.5, and then Counter-Strike 1.6 (video games), the shortcut on your desktop will be changed to refer to Counter-Strike

Re: [Tutor] about array

2006-12-25 Thread Luke Paireepinart
Oops, another one where I replied off-list. -- Forwarded message -- From: Luke Paireepinart <[EMAIL PROTECTED]> Date: Dec 26, 2006 12:46 AM Subject: Re: [Tutor] about array To: "linda. s" <[EMAIL PROTECTED]> On 12/26/06, linda.s <[EMAIL PROTECTED]> wrote: When I read the foll

Re: [Tutor] RandomArray and numeric

2006-12-25 Thread Luke Paireepinart
Sorry, everyone, I accidentally replied to a few e-mails off-list because I'm using the Gmail web interface, and I forgot that reply-all is not default (I normally use thunderbird. Yay Google for giving POP3 access to mail. Boo Yahoo for charging for it.) -- Forwarded message --

Re: [Tutor] Possible with list comprehension?

2006-12-25 Thread Luke Paireepinart
On 12/25/06, Stewart Midwinter <[EMAIL PROTECTED]> wrote: hmm, maybe you're right. I certainly agree that your example is nested and mine is not. I wonder what the exact description of Kent's solution is? http://docs.python.org/tut/node7.html states: Each list comprehension consists of an

[Tutor] about array

2006-12-25 Thread linda.s
When I read the following code, I found it was very hard for me to understand the meaning of a[1:3,:-1:2] for a[i,j] for i=1,2 and j=0,2,4; the same as a[::3,2:-1:2] >>> a array([[ 0., 1., 2., 3., 4., 5.], [ 6., 7., 8., 9., 10., 11.], [ 12., 13., 14., 15., 16., 17.], [ 18., 19., 20., 21., 22., 23

[Tutor] idle and version

2006-12-25 Thread linda.s
in my computer, there are python 2.3 and 2.4 Every time I right click a python code and select "edit with IDLE", it goes to python2.4; I am very curious why it does not got to python 2.3 because I set python 23 in my PYTHONPATH in the My Computer - Properties - Advanced - Environment Variables. ___

Re: [Tutor] Game server login encryption

2006-12-25 Thread Adam Bark
Thanks a lot Bob that looks like a plan. Carlos I think the major problem with the SSL sockets is the lack of certificate checking which, I suspect, make it vulnerable to several exploits. Thanks anyway. Adam. ___ Tutor maillist - Tutor@python.org http

[Tutor] RandomArray and numeric

2006-12-25 Thread linda.s
Since RandomArray is with Numeric, why I saw a code has something like: from Numeric import * from RandomArray import * Tks, Linda ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Sending email from windows python

2006-12-25 Thread mobiledreamers
How do we run sendmail from windows I found Xmail http://www.xmailserver.org/ On 12/25/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > how do we use sendmail to send mail from windows > smtplib works in unix flawlessly It should work in windows too provided you have an SMTP server such as sendm

Re: [Tutor] index of max value in a list

2006-12-25 Thread Kent Johnson
anil maran wrote: > the max function, it returns the maximum value in the > list rather than the index associated with that value. > > How do I return the index? l.index(max(l)) will give you the index of the first occurrance of the maximum. m = max(l) [ i for i,v in enumerate(l) if v==m ] wil

[Tutor] index of max value in a list

2006-12-25 Thread anil maran
the max function, it returns the maximum value in the list rather than the index associated with that value. How do I return the index? thanks Anil __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yaho

Re: [Tutor] Sending email from windows python

2006-12-25 Thread Alan Gauld
"anil maran" <[EMAIL PROTECTED]> wrote > how do we use sendmail to send mail from windows > smtplib works in unix flawlessly It should work in windows too provided you have an SMTP server such as sendmail running somewhere. Alan G. ___ Tutor mailli

[Tutor] Sending email from windows python

2006-12-25 Thread anil maran
Hi guys how do we use sendmail to send mail from windows smtplib works in unix flawlessly thanks Anil __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com