On 2009-12-04, Steven D'Aprano wrote:
> How would I re-write this? Just get rid of the try block and
> add a close:
>
> for (exten, list) in files.iteritems():
> f=open('extensions-%s.txt' % exten,'w')
> f.write('\n'.join(list))
"\n".join is a cute shortcut, but if you use it you must rem
On Fri, Dec 4, 2009 at 09:21, Steven D'Aprano
wrote:
> On Thu, 03 Dec 2009 16:20:24 -0500, J wrote:
>
>> The difference between me (learning a new language) and the guy teaching
>> (who knows it inside and out)
>
> I don't know about that. He's teaching some pretty atrocious habits. See
> below.
On Thu, 03 Dec 2009 16:20:24 -0500, J wrote:
> The difference between me (learning a new language) and the guy teaching
> (who knows it inside and out)
I don't know about that. He's teaching some pretty atrocious habits. See
below.
> His code:
[...]
> for (exten, list) in files.iteritems():
>
On Sun, Nov 29, 2009 at 20:14, Terry Reedy wrote:
> J wrote:
>>
>> Ok... so I've been re-teaching myself python, as it's been several
>> years since I last really used it. And in the midst of this, my
>> contracting company came up to me on Friday and asked if I'd be
>> interested in filling a la
J wrote:
Ok... so I've been re-teaching myself python, as it's been several
years since I last really used it. And in the midst of this, my
contracting company came up to me on Friday and asked if I'd be
interested in filling a last minute vacancy in this:
http://www.otg-nc.com/python-bootcamp
In article ,
J wrote:
>On Sun, Nov 29, 2009 at 03:57, Carl Banks wrote:
>> On Nov 28, 6:15=A0pm, J wrote:
>>>
>>> http://www.otg-nc.com/python-bootcamp
>>>
>>> It's a week long Python Bootcamp.
>>
>>
>> I'm surprised they're able to fill out 5 days with intensive training
>> on Python.
>
>but o
On Nov 28, 6:15 pm, J wrote:
> Ok... so I've been re-teaching myself python, as it's been several
> years since I last really used it. And in the midst of this, my
> contracting company came up to me on Friday and asked if I'd be
> interested in filling a last minute vacancy in this:
>
> http://w
On Sun, Nov 29, 2009 at 03:57, Carl Banks wrote:
> On Nov 28, 6:15 pm, J wrote:
>> http://www.otg-nc.com/python-bootcamp
>>
>> It's a week long Python Bootcamp.
>
>
> I'm surprised they're able to fill out 5 days with intensive training
> on Python.
>
> :)
Well, if it's anything like other simi
On Nov 28, 6:15 pm, J wrote:
> Ok... so I've been re-teaching myself python, as it's been several
> years since I last really used it. And in the midst of this, my
> contracting company came up to me on Friday and asked if I'd be
> interested in filling a last minute vacancy in this:
>
> http://w
In article ,
J wrote:
>
>Ok... so I've been re-teaching myself python, as it's been several
>years since I last really used it. And in the midst of this, my
>contracting company came up to me on Friday and asked if I'd be
>interested in filling a last minute vacancy in this:
>
>http://www.otg-nc
Ok... so I've been re-teaching myself python, as it's been several
years since I last really used it. And in the midst of this, my
contracting company came up to me on Friday and asked if I'd be
interested in filling a last minute vacancy in this:
http://www.otg-nc.com/python-bootcamp
It's a wee
11 matches
Mail list logo