putting JUNK at the end of a [.py] file
Thomas Passin
list1 at tompassin.net
Fri Feb 24 00:16:33 EST 2023
On 2/23/2023 7:21 PM, Hen Hanna wrote:
>
> 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.
You can just put it in triple quotes, no need to assign the string to a
variable. Or make each line a comment.
More information about the Python-list
mailing list