The location of the p3d file

Hi,
How can i get the location path of the p3d file that im running.

os.getcwd()
returns me: C:\Documents and Settings<your name>\Local Settings\Application Data\Panda3D

Thankk you

This information isn’t available in Panda3D 1.7.2.

In 1.8 you can check base.appRunner.p3dFilename and/or base.appRunner.p3dUrl.

David