[Bf-python] Blender sys module

Stani Michiels s_t_a_n_i at yahoo.com
Fri May 30 17:14:25 CEST 2003


Discussion then went to inconsistencies in the API.
- Blender has its own sys module (Blender.sys). It
contains a selection of functions found in the
Python.os and Python.sys modules.

In Blender 226 the sys.argv list is not defined. 
Would it possible to provide just a dummy with value
[]? The lack of this attribute makes a lot of scripts
crash in Blender, because they want check it for
command options.  Of course Blender doesn't need this
strictly, but implementing it prevents other scripts
from crashing.

Thanks,
Stani

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



More information about the Bf-python mailing list