[Bf-python] svg2obj script.

jmsoler at free.fr jmsoler at free.fr
Wed Mar 28 16:29:05 CEST 2007


Selon Martin Poirier <theeth at yahoo.com>:

>
> --- Campbell Barton <cbarton at metavr.com> wrote:
>
> > Hi JMS, can you resolve this?
> >
> >
> >   File
> > "/root/.blender/scripts/bpymodules/svg2obj.py", line
> > 1086, in
> > control_CONTAINT
> >      while txt.count(')',t0)>0:
> > TypeError: count() takes exactly one argument (2
> > given)
> >

Seems that you have a problem with your python.
Try to read this : http://docs.python.org/lib/string-methods.html
count(  	sub[, start[, end]])
    Return the number of occurrences of substring sub in string S[start:end].
Optional arguments start and end are interpreted as in slice notation.


jms



More information about the Bf-python mailing list