[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to get the directory of the current executed file?
- From: Tang Daogang <daogangtang@...>
- Date: Fri, 14 Jan 2011 14:14:11 +0800
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.