Re: passing arrays to a dynwin.windll.module method
by Matthew Sherborne other posts by this author
May 5 2002 10:13PM messages near this date
view in the new Beta List Site
passing arrays to a dynwin.windll.module method
|
Low level python
Try Passing \x00 characters in one long string to split it up into many
little strings. eg:
> >> lst = ['bacon', 'egg', 'ham']
> >> str = '\00'.join(lst)
> >> str
'bacon\x00egg\x00ham'
> >> str += '\00'
> >> str
'bacon\x00egg\x00ham\x00'
> >>
_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Jeremy Dillworth
Matthew Sherborne
|