On 2023-01-22, Weatherby,Gerard <gweathe...@uchc.edu> wrote: > Argparse is for parsing command line arguments and options. > > If you just want to evaluate an Python expression, use eval( )
Only use eval() if the expression is always under your control (and you don't make mistakes when typing). Don't use eval() on strings that come from the outside world. -- https://mail.python.org/mailman/listinfo/python-list