Re: (iso Pythonic code) -- if Usenet allowed a small image embedded in a msg, ...

[email protected] (Stefan Ram)
Newsgroups news.software.readers,alt.culture.usenet
Organization Stefan Ram
Message-ID <[email protected]>
Colin Macleod <[email protected]> writes:
>There's a big difference between encoding gigabyte videos into hundreds 
>of posts, and including a small picture or graphic *as part of a 
>message* just as one might do in an email. I think it would be very 
>helpful to allow the second more generally, with sensible limits on 
>attachment size.

  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.

  But be warned: If you already have a file named 
  "output202402261208430100ergahei_tmp_DML.bin"
  on your hard drive, the above program may *overwrite*
  (delete) your existing file. So proceed with care!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.