Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1 +1 @@
|
|||
print(__file__[:-3])
|
||||
import sys,inspect;sys.stdout.write(inspect.getsource(inspect.currentframe()))
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
$ python print\(__file__\[\:-3\]\).py
|
||||
print(__file__[:-3])
|
||||
|
|
|
|||
|
|
@ -1,4 +1,2 @@
|
|||
$ cat print\(__file__\)
|
||||
print(__file__)
|
||||
$ python print\(__file__\)
|
||||
print(__file__)
|
||||
$ python print\(__file__\[\:-3\]\).py
|
||||
print(__file__[:-3])
|
||||
|
|
|
|||
|
|
@ -1,11 +1,4 @@
|
|||
$ cat reproducing.py
|
||||
File "reproducing.py", line 1
|
||||
File "reproducing.py", line 1
|
||||
^
|
||||
IndentationError: unexpected indent
|
||||
|
||||
$ python reproducing.py
|
||||
File "reproducing.py", line 1
|
||||
File "reproducing.py", line 1
|
||||
^
|
||||
IndentationError: unexpected indent
|
||||
$ cat print\(__file__\)
|
||||
print(__file__)
|
||||
$ python print\(__file__\)
|
||||
print(__file__)
|
||||
|
|
|
|||
11
Task/Quine/Python/quine-8.py
Normal file
11
Task/Quine/Python/quine-8.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
$ cat reproducing.py
|
||||
File "reproducing.py", line 1
|
||||
File "reproducing.py", line 1
|
||||
^
|
||||
IndentationError: unexpected indent
|
||||
|
||||
$ python reproducing.py
|
||||
File "reproducing.py", line 1
|
||||
File "reproducing.py", line 1
|
||||
^
|
||||
IndentationError: unexpected indent
|
||||
Loading…
Add table
Add a link
Reference in a new issue