Duncan Booth wrote:
> Peter Mott wrote:
>
>
>>But it is still true that [[]] + [[]] is not the same as [[]] * 2. In my
>>usage anyway this means that "S+S is the same as S*2" is false. Because
>>there are Python expressions for which it is falsfi
Matt Hammond wrote:
> On Fri, 12 Aug 2005 12:57:38 +0100, Peter Mott <[EMAIL PROTECTED]> wrote:
>
>> If I use concatenation + instead of multiplication * then I get the
>> result that Jiri expected:
>>
>> >>> L = [[]] + [[]]
>> >>
If I use concatenation + instead of multiplication * then I get the
result that Jiri expected:
>>> L = [[]] + [[]]
>>> L[1].append(1)
>>> L
[[], [1]]
With * both elements are changed:
>>> L = [[]] * 2
>>> L[1].append(1)
>>> L
[[1], [1]]
Alex Martelli says in his excellent Nutshell book t
The documentation for SMTPHandler say "The toaddrs should be a list of
strings without domain names (That's what the mailhost is for)." which does
not seem to be correct. The toaddr should be a list of strings like
'[EMAIL PROTECTED]'.
Peter
--
http://mail.python.org/mailman/listinfo/python
Thanks for this.
Peter
"Robert Brewer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Peter Mott wrote:
> If you upload a file using the cgi module is there any
> way to discover the file name that the user submitted
> as well as the file data? I've
If you upload a file using the cgi module is there anyway to discover the
file name that the user submitted as well as the file data? I've googled
till I squint but I can't find anything.
Peter
--
http://mail.python.org/mailman/listinfo/python-list