Sybren> Is it possible to use an assignment in a while-loop? Nope. To learn why, read question 6.30 of the FAQ: http://www.python.org/cgi-bin/faqw.py?req=show&file=faq06.030.htp Skip