Re: importing fully qualified scripts to check syntax

2009-08-07 Thread Gabriel Genellina
En Fri, 07 Aug 2009 17:29:28 -0300, horos11 escribió: I'm trying to make a syntax checker, where I say: python -c "import /path/to/script" to check the syntax of the script named '/path/to/script' (note: no py extension needed). Of course this doesn't work because the functionality for import

importing fully qualified scripts to check syntax

2009-08-07 Thread horos11
hey all, I'm trying to make a syntax checker, where I say: python -c "import /path/to/script" to check the syntax of the script named '/path/to/script' (note: no py extension needed). Of course this doesn't work because the functionality for import is bundled up with the environment.. So - is t