On Fri, Jan 15, 2010, Alex Hall wrote:
>
> I am trying to put the stack trace into a file, since I cannot copy and  
> paste from the cmd line output. Is there a way to do this? Also, if you 
> run the file (assuming you have all the dependencies) the error happens 
> as soon as you press windows-`. You can change "speaker.say" to "print" 
> and comment out the line creating the speaker object so that you do not 
> have to install sayTools.

You probably will have difficulty doing this, but yes, you can
copy/paste command-line output using a mouse to select a screen area.

Actually, I just looked in my Windows virtual machine and you can do
alt-space, edit, select all, enter

You can also use try/except and the traceback module to capture an
exception and write it to a file.
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to