RosettaCodeData/Task/Quine/Python/quine-8.py

3 lines
59 B
Python

$ python print\(__file__\[\:-3\]\).py
print(__file__[:-3])