> does anyone know if it is possible to use isinstance() to recognise a list? >>> isinstance([],list) 1 For questions like this, fire up the interactive interpreter (or keep one on your task bar) and try it out. Quicker than posting. The possibility of doing this so easily is one of Python's great features! Terry J. Reedy