[Tutor] mysterious Python error

Alan G alan.gauld at freenet.co.uk
Sun Jul 31 09:56:42 CEST 2005


HI Tom,

This message answers a couple of questions but not the one you
really need - whats going wrong?!

> I then ran this from a DOS window, and tried to redirect the -v 
> output to  a text file, so I could include it, but nothing I did was 
> successful. I  can't imagine why the output wouldn't redirect, but 
> it would not. the file  remained empty.

Redirecting in DOS only puts stdout into the file but Pythons out put 
would
be going to stderr so doesn't go to the file.

However you can cut n paste from the DOS box using the menu that 
appears
under the top left icon. You can use Edit->Mark to select the text to 
copy
then Edit->Copy to grab it for pasting into an email.

You can also make Marking the default behaviour of a DOS box by 
changing
the properties from the same menu - select QuickEdit mode.

Sorry I can't help with the real issue however!

Alan G. 



More information about the Tutor mailing list