Let say I have blend file called test01.blend, then I want to automatically assign render filepath via python to
/media/data/render/[current blend filename]/[current blend filename]_.
So, it should look like this
I'm trying to access it via
bpy.data.filepath, but I got only full file path for current blend file not blend file name.
Thanks for your help