putting JUNK at the end of a [.py] file

Loris Bennett loris.bennett at fu-berlin.de
Fri Feb 24 04:31:12 EST 2023


Hen Hanna <henhanna at 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.


More information about the Python-list mailing list