lua-users home
lua-l archive

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


Dear all,

How to get the directory of the current executed file?

I know in Python, it is:
os.path.dirname(__file__)

But I don't know how to get it in Lua, any suggestion?

Thank you.