Print itself: Difference between revisions
Content added Content deleted
m (→{{header|Perl}}: shorter alternative) |
(added python language section) |
||
Line 91: | Line 91: | ||
Write-Host $MyInvocation.MyCommand |
Write-Host $MyInvocation.MyCommand |
||
</lang> |
</lang> |
||
=={{header|Python}}== |
|||
{{works with|python3}} |
|||
<lang python>import sys |
|||
with open(sys.argv[0],'r') as input: |
|||
for row in input: |
|||
print(row, end='')</lang> |
|||
=={{header|Raku}}== |
=={{header|Raku}}== |