Add the '<' operator like the CMD's o UNIX's one to pass the content of a file (by lines) as stdin input.
I really need it (university) :sob:
Thanks!
The equivalent feature in PowerShell is piping from Get-Content
. So, in your case,
PS> Get-Content example.txt | py .\print-twice.py
hola
hola
<
should probably be supported as well.
Most helpful comment
The equivalent feature in PowerShell is piping from
Get-Content
. So, in your case,<
should probably be supported as well.