posting code snippets
rosuav at gmail.com
Thu Feb 27 13:27:16 CET 2014
On Thu, Feb 27, 2014 at 11:13 PM, Mark H. Harris <harrismh777 at gmail.com> wrote:
> hi folks,
> Its been too long... can't remember... are there rules here about posting code snippets, or length considerations, and so forth?
> Seems like there was a place to share code snips outside of the message area?
The convention is to post it in-line, just have it right there in the
body of the email. There's no specific rule on length, but if it goes
over a screenful or two, a lot of people won't bother to read it.
Keeping the code in the message itself is the best way to carry it
around. Not every transmission medium supports attachments, and they
don't cut down on size in any way; and a link to an external resource
creates a dependency. But if your code really is too long to be
practical, you could post it to pastebin or somesuch. It's not as good
as keeping it in the email, but it can work. Do try to make your code
more consumable, though - posting a link to a thousand-line script is
just as useless as embedding it, as nobody will bother to read through
> tnx... happy Thursday!
I never could get the hang of Thursdays.
More information about the Python-list