|
Hi
Edward -
A
Python string object or unicode object should convert to char[] automatically.
Right
now,
the Byte converter expects to convert an int rather than a string, so a
workaround
might
be to convert your list of strings to a list of ints to pass to the
constructor:
stuff
= ['s', 't', 'u', 'f', 'f']
asint
= map(ord, stuff) # pass asint to the constructor
Hope
this helps - I'll add a tracker issue that the converter should probably be
smart
enough
to convert a string to a byte array by itself... Brian Lloyd
[EMAIL PROTECTED]
|
_________________________________________________ Python.NET mailing list - [email protected] http://mail.python.org/mailman/listinfo/pythondotnet
