Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 528 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 528 Bytes

python3, more like cat

When imported, pyquine prints the source of the main module.

There's the standard:

import quine

But pyquine supports any source file that manages to import it:

#!/usr/bin/env python3
"""This is my quine. It prints its own source."""

import quine

It's cheating, but that's the point. Because PyPI deserves a good quine variation of the "import X" meme.

xkcd #353: Python