0

I have installed python 3.7, I'm really new to this and read you can run a script with a txt entry in PowerShell (already did environment path configs). I opened PowerShell and type: - cd [Python script directory] - python main_1.py

It should run but gives an error in return, here is the error. Any help will be appreciated.

Netro
  • 7,119
  • 6
  • 40
  • 58
Sassy
  • 40
  • 4
  • Looks like you need some spaxce between python filename and input text filename. try adding space between "<" so it can be "python python_file < input_file". – wonhee Sep 15 '18 at 23:09

1 Answers1

2

Input redirection (the command line operator <) is not implemented in Windows Powershell. You may want to switch to cmd.exe if you need this functionality.

DYZ
  • 55,249
  • 10
  • 64
  • 93