Here is what I have at the moment. According to my webhost (webhostingpad) python is enabled on the sever. I don't really know what they mean by that though. I have that lastfmrecent.py script in my cgi-bin folder, since I assume it must be in python's sys.path. I then put the following into my html, although I don't think it will work.
What do you guys think I should do to make this work?
get_recent_xml('whackedspinach', '8e7ae6fe7e1cdcffe0e8d8e68731270d', 5, "last_fm_cache.txt")