Mailing List Archive

putting JUNK at the end of a [.py] file
in a LaTeX file, after the (1st) \end{document} line,
i can put any random Junk i want (afterwards) until the end of the file.


Is there a similar Method for a .py file ?

Since i know of no such trick, i sometimes put this (below) at the end of a .py file.



dummy= (""" junk and more junk
words in Dict
239 words in Dict
((( notes or Code fragmetns )))
""" )



** maybe i don't need the dummy= but it looks better.
--
https://mail.python.org/mailman/listinfo/python-list
Re: putting JUNK at the end of a [.py] file [ In reply to ]
Hen Hanna <henhanna@gmail.com> writes:

> in a LaTeX file, after the (1st) \end{document} line,
> i can put any random Junk i want (afterwards) until the end of the file.
>
>
> Is there a similar Method for a .py file ?
>
> Since i know of no such trick, i sometimes put this (below) at the end of a .py file.
>
>
>
> dummy= (""" junk and more junk
> words in Dict
> 239 words in Dict
> ((( notes or Code fragmetns )))
> """ )
>
>
>
> ** maybe i don't need the dummy= but it looks better.

Apropos looking better:

In my newsreader with a fixed-width font, I find your postings rather
hard to read as there is a lot of, for me, inexplicable white space.

Is there a particular reason why your postings are formatted like this?

Cheers,

Loris

--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list