Open file dialog - unsolved

I would like to open a save dialog before running my animation export script.

What is the easiest way to do this? ( Blender 2.53 )

In 2.49, try this:

from Blender import *

def my_function():
    return

fPath = Get("filename")
fName = sys.basename(fPath)
Window.FileSelector(my_function,"SAVE FILE",fName)

Regards,

I forgot to mention that I’m using 2.53 at the moment, but I appreciate the quick response!

i need that too, can’t somebody answer this??
how about the open file are they the same