[Bf-python] PyRun_File vs PyRun_String

Martin Poirier theeth at yahoo.com
Sat May 10 18:35:29 CEST 2008


--- On Sat, 5/10/08, Campbell Barton <ideasman42 at gmail.com> wrote:

> From: Campbell Barton <ideasman42 at gmail.com>
> Subject: Re: [Bf-python] PyRun_File vs PyRun_String
> To: "Blender Foundation Python list" <bf-python at blender.org>
> Date: Saturday, May 10, 2008, 12:32 PM
> Thanks, Ill mail the py/c api ml to see if there is a
> workaround.
> Maybe there could be a function that just accepts a
> filename?

That wouldn't work either, we need to be able to run modified files (files that can contain cr/lf) from a buffer.

Martin


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the Bf-python mailing list