| View previous topic :: View next topic |
| Author |
Message |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
I want to embed a small amount of binary data into my python program. what's the best way to do this?
Reply with quote
|
| |
|
|
Shirley Kidman Enthusiastic Coder
Joined: 21 Jun 2006 Posts: 30
| |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
| |
Shirley Kidman Enthusiastic Coder
Joined: 21 Jun 2006 Posts: 30
|
froomzer, Probably to create a .bin file and then read from it
I meant to ask what does the binary data consist of?
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
It would be best if it was embeded because I only want to distribute only one file
Reply with quote
|
| |
|
|
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
froomzer, you could store it as base64 encoded, or as digits, and convert it inside the file
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
| |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
| Page 1 of 2 |
Goto page 1, 2 Next |
|