py_compile vs. built-in compile, with __future__

Neil Cerutti neilc at norwich.edu
Wed Jun 12 09:30:43 EDT 2013


On 2013-06-11, dhyams <dhyams at gmail.com> wrote:
>> You would use StringIO instead of writing a temp file.
>
> I don't think that would work...py_compile takes a filename as
> input, not a file object.

Dang. Sorry for the misinfo.

-- 
Neil Cerutti



More information about the Python-list mailing list