Re: (iso Pythonic code) -- if Usenet allowed a small image embedded in a msg, ...
Colin Macleod <[email protected]>
| Newsgroups | news.software.readers,alt.culture.usenet |
|---|---|
| Organization | Not likely |
| Message-ID | <[email protected]> |
[email protected] (Stefan Ram) wrote in news:binary-20240226121322 @ram.dialup.fu-berlin.de: > > You can just post a Python program to /generate/ the binary. > For example: > > with open( 'output202402261208430100ergahei_tmp_DML.bin', 'wb' )as sink: > sink.write( b'\00\01\02' ) > > . Now, one can run this Python program and will get the binary file > "output202402261208430100ergahei_tmp_DML.bin" with the three bytes > 00, 01, and 02. > Hmm, I don't think we need Yet Another Encoding System :-) -- Colin Macleod.