get filename of currently open .blend?

is it possible to get the filename of the currently open .blend file with python?

yes

http://www.blender.org/modules/documentation/240PythonDoc/Blender-module.html#Get

can you please look in the docs next time

thanks! i always look into the python docs before posting but i totally overlooked the blender module because it was too far on top and then just looked into library and scene and such thingsā€¦ :slight_smile: