Writeing new files

Ignacio Vazquez-Abrams ignacio at openservices.net
Fri Aug 31 12:50:04 EDT 2001


On 31 Aug 2001, eber kain wrote:

> OK, as is it would not run, and returns an error
>
> no variable named Name in line 7

D'oh. Brain fart.

> if I change Name to name then it runs and prints this
>
> test
> Name
> 'Name'
>
> I dont doubt that the problem is with Create, but there is no easy way
> to get to it seeing how blender is just an exe with no external files.
>
> For now ill just use
>
> file = Open('name.btv',"w")
>
> and rename the file manually after its created

Okay, the next step is to do a dir() on name and find out what exactly the
object returned has for you to use.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list