lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Apr 24, 2012 at 6:01 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Op 24 april 2012 03:50 heeft Coda Highland <chighland@gmail.com> het
> volgende geschreven:
>>> for file in path.find{basedir="/usr", name=pattern} do
>>>  print file, fs.stat(file).size
>>> end
>>
>> Er. I've been writing too much Python. I forgot the parentheses on print!
>>
>
> Ancient Python, you mean.  Python 3.0 has joined Lua on this one:
>
> http://docs.python.org/release/3.0.1/whatsnew/3.0.html
>

Well aware of that. I'm stuck with Py2.x for various reasons at the moment.

/s/ Adam