thanks all for your replies! it did helped me! by the way, i am really new to phyton and to programming, can anyone refer me to an online source that supplies the relevant data for syntax ect? thanks, Dorit.