On Mon, 2006-09-04 at 21:40 -0700, [EMAIL PROTECTED]
wrote:
> Hi,  why does
> 
> >>> import compiler
> >>> compileFile("foo.py")
> 
> complain name 'compileFile' not defined.  But
Because 'compileFile' is not defined.  But I think you'll find that
compiler.compileFile IS defined.

John Purser


> 
> >>>from compiler import *
> 
> works.  Why?  (I did read the tutorial, it seems to say "import module"
> should work.  
> 
> Thank you,  Mark
> 

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to