> I'm trying to call a PHP file from python using os.system() Have you checked out the PHP Parser at http://zope.org/Members/hewei/PHParser A -- Logical Progression Ltd, 20 Forth Street, Edinburgh EH1 3LH, UK Tel: +44 (0)131 550 3733 Web: http://www.logicalprogression.net/