lua-users home
lua-l archive

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


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