Tim, > Sounds like the shlex module... > http://docs.python.org/library/shlex.html
Cheers for the link - that's *exactly* what I was searching for. For the archives: Here's an excellent tutorial on this module. http://www.oreillynet.com/onlamp/blog/2007/10/pymotw_shlex.html Malcolm -- http://mail.python.org/mailman/listinfo/python-list