Re: sendmail error

2010-08-31 Thread sandric ionut
use I would not receive the message. Your replays were enough to make me unsubscribe from the list I.S. From: Thomas Jollans To: python-list@python.org Sent: Tue, August 31, 2010 4:46:58 PM Subject: Re: sendmail error On Tuesday 31 August 2010, it occurred t

Fw: sendmail error

2010-08-31 Thread sandric ionut
- Forwarded Message From: sandric ionut To: Dave Angel Sent: Tue, August 31, 2010 3:56:40 PM Subject: Re: sendmail error From: Dave Angel To: sandric ionut Cc: Python List Sent: Tue, August 31, 2010 2:49:29 PM Subject: Re: sendmail error

sendmail error

2010-08-31 Thread sandric ionut
Hello: I have a script for sending email from python (it is attached bellow). When I am launching the script I get the error: TypeError: cannot concatenate 'str' and 'type' objects if I use sys.argv[1], but if I input from the begging an email address like "em...@email.com", the script is w

Re: Fwd: string concatenate

2008-10-01 Thread sandric ionut
t possible?   Ionut - Original Message From: Tommy Grav <[EMAIL PROTECTED]> To: Python List Sent: Wednesday, October 1, 2008 7:50:25 PM Subject: Fwd: string concatenate On Oct 1, 2008, at 12:41 PM, sandric ionut wrote: > Hi: > > I have the following situation: > 

string concatenate

2008-10-01 Thread sandric ionut
Hi: I have the following situation:     nameAll = []     for i in range(1,10,1):     n = "name" + str([i])     nameAll += n     print nameAll I get: ['n', 'a', 'm', 'e', '[', '1', ']', 'n', 'a', 'm', 'e', '[', '2', ']', 'n', 'a', 'm', 'e', '[', '3', ']', 'n', 'a', 'm', 'e', '[', '4', ']

Re: change line with columns when print

2008-10-01 Thread sandric ionut
Even better, Thank you all Ionut - Original Message From: D'Arcy J.M. Cain <[EMAIL PROTECTED]> To: sandric ionut <[EMAIL PROTECTED]> Cc: python-list@python.org Sent: Wednesday, October 1, 2008 3:13:55 PM Subject: Re: change line with columns when print On Wed, 1

Re: change line with columns when print

2008-10-01 Thread sandric ionut
lution, but this should work: L1 = [] L2 = [] for i in file:     tmp = i.split(" ")     L1.append(tmp[0])     L2.append(tmp[1])     for i in L1:     print i, print # new line for i in L2:     print i, print # new line Almar 2008/10/1 sandric ionut <[EMAIL PROTECTED]> Hello: I

change line with columns when print

2008-10-01 Thread sandric ionut
Hello: I have a text file that looks like: 0 23 1 342 3 31 and I want to read the file and print it out like: 0 1 3 23 342 31 How can I do this? Thnak you in advance, Ionut -- http://mail.python.org/mailman/listinfo/python-list