How to get the directory of the current executed file?
[
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: 2011年1月14日 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.