A tiny Python CLI that converts Celsius to Fahrenheit.
python tempconv.py 100
# 100.0°C = 212.0°F
python tempconv.py 37 --round 1
# 37.0°C = 98.6°FNo dependencies. Requires Python 3.6+.
| Flag | Description |
|---|---|
celsius |
temperature in degrees Celsius (required) |
-r, --round N |
round result to N decimal places (default: 2) |
F = C × 9/5 + 32