We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1168646 commit 7c797d2Copy full SHA for 7c797d2
1 file changed
Level_04/quine.py
@@ -1,5 +1,6 @@
1
#!/usr/bin/env python3
2
3
-we = open(__file__, "r")
4
-print(we.read())
5
-we.close()
+from pathlib import Path
+
+we = Path(__file__)
6
+print(we.read_text())
0 commit comments