|
|
|
|
|
by wackspurt
2997 days ago
|
|
What you are describing sounds similar to a "quine". A quine is a non-empty computer program which takes no input and produces a copy of its own source code as its only output. https://en.wikipedia.org/wiki/Quine_(computing) Here is an example:
s = 's = %r\nprint(s%%s)'
print(s%s) |
|