[Tutor] guess age programme (please help)
steve at pearwood.info
Sat Oct 1 06:13:43 CEST 2011
ADRIAN KELLY wrote:
> Hi all,
> can anyone help me with the attached programme.
I'd love to, but I can't open it :(
If the truth be known, I could open it if I spent the time and effort.
But that actually is significant time and effort: in my email, your
attachment looks like this:
Content-Disposition: attachment; filename="guess age_game(broken)"
I hope you understand why I don't care enough to go to the time and
effort of saving it to a file, decoding it, renaming it, and then
finally reading it.
You can make it easier for your readers (and therefore increase the
number of people able and willing to help) if you do this:
(1) For small amounts of code, just copy and paste it into your email.
Make sure you send ordinary plain text. No HTML email or "rich text", as
that will often break the formatting of the code.
(2) For larger amounts, say, more than 50 lines, attach it as a file.
Make sure the file has a file extension .txt or .py even if you are
using a computer system that doesn't need file extensions. If .py,
please make sure the file name is legal for Python: no spaces or
brackets or parentheses or dashes.
Thanks in advance,
More information about the Tutor