Am I correct in thinking that that Python doesn\'t have a direct equivalent for Perl\'s __END__
?
print \"Perl...\\n\";
__END__
End of code. I c
Python does not have a direct equivalent to this.
Why do you want it? It doesn't sound like a really great thing to have when there are more consistent ways like putting the text at the end as comments (that's how we include arbitrary text in Python source files. Triple quoted strings are for making multi-line strings, not for non-code-related text.)
Your editor should be able to make using many lines of comments easy for you.