hi, sorry for my english i want to get python error as string. i try to redirect PyErr_Print() into std::cerr.rdbuf but doesn't work any idea ? Thanks in advance. fabrizio --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 03/02/2004