How do I create a script from a text file?

I have a blender convertor script in text format, how do I convert the text file into a python file?

I loaded it into the python GUI and saved it as blitz.py but when I try to open it in blender it says ‘not a library’

I have blender 2.25

and python 2.3

are they compatible?

OK, quick tut

create a text window in blender (I hope you know how do that)
open your python file using the [-] button (not key) on the window header
run your script by having your cursor in that window and pressing alt+p

your errors will be put on the console (even if you can’t see it)

The open file command is only for blender files, or for vrml and dxf files (which are imported I believe into the current file). Blender was complaining that your script was not a valid blender file (I think)