On Tue, Oct 19, 2010 at 09:00:39PM -0400, Alexander Tairbekov wrote:
> I am trying to write code that copies the source of a webpage to a txt file.
> The code is not working for me, it is in the attachment.

It's not complete code; there are parts (like the definitions of translated
and fp are missing). How specifically is it not working for you?