[Tutor] Another list comprehension question

Smith, Jeff jsmith at medplus.com
Tue Feb 27 19:21:01 CET 2007


-----Original Message-----
From: Bob Gailer [mailto:bgailer at alum.rpi.edu] 
Sent: Monday, February 26, 2007 3:53 PM
To: Smith, Jeff
Cc: tutor at python.org
Subject: Re: [Tutor] Another list comprehension question


>> files = list()
   
>Or just files = []

I tend to prefer the former since it has a more OO feel to it...

Jeff


More information about the Tutor mailing list