1

Is there a way to use Python's argparse library against user input from stdin instead of on sys.argv? In other words, I want the program to already be running, and be able to use argparse to handle when the user types something like web-server stop.

laptou
  • 6,389
  • 2
  • 28
  • 59

0 Answers0