Re: text strings to binary...

2005-05-03 Thread John Machin
On 3 May 2005 12:39:51 -0700, [EMAIL PROTECTED] wrote: >Hi, > >I've been working with Python for a bit now but I just came accross a >problem and I'm not sure how to approach it. I'd like to convert a text >string into binary data format. I though I'd use the struct module and >the pack function b

Re: text strings to binary...

2005-05-03 Thread Peter Hansen
[EMAIL PROTECTED] wrote: > Hi, > > I've been working with Python for a bit now but I just came accross a > problem and I'm not sure how to approach it. I'd like to convert a text > string into binary data format. I though I'd use the struct module and > the pack function but I can't get it to work

Re: text strings to binary...

2005-05-03 Thread Stefan Näwe
[EMAIL PROTECTED] wrote: > Hi, > > I've been working with Python for a bit now but I just came accross a > problem and I'm not sure how to approach it. I'd like to convert a text > string into binary data format. I though I'd use the struct module and > the pack function but I can't get it to wor

text strings to binary...

2005-05-03 Thread oriana . falco
Hi, I've been working with Python for a bit now but I just came accross a problem and I'm not sure how to approach it. I'd like to convert a text string into binary data format. I though I'd use the struct module and the pack function but I can't get it to work. I'm using Python 2.3.3 in Windows X