docs: prefer python3 in setup examples (#86)

This commit is contained in:
Sheroy Cooper
2026-07-09 06:05:16 +02:00
committed by GitHub
parent b8d35a4b69
commit 22a4438dab
3 changed files with 12 additions and 10 deletions
+7 -5
View File
@@ -69,12 +69,14 @@ If you have salary data in an Excel file:
```bash
pip install openpyxl
python tools/convert_salary_excel.py path/to/salary-data.xlsx \
python3 tools/convert_salary_excel.py path/to/salary-data.xlsx \
--source "My Salary Data 2025" \
--baseline 100 \
--baseline-desc "Index 100 = median salary"
```
On Windows, use `py` if that is how Python is exposed on your PATH. If your system uses `python` instead of `python3`, substitute that in the examples.
The converter auto-detects the Excel layout:
- Looks for a "Company"/"Firma" column and an optional "City"/"By" column
- Treats remaining columns as salary data (auto-pairs count/index columns)
@@ -107,10 +109,10 @@ Start with an empty template and add companies as you research them:
## Usage
```bash
python salary_lookup.py "Novo Nordisk"
python salary_lookup.py "Ørsted" --city "Fredericia"
python salary_lookup.py "COWI" --json
python salary_lookup.py --list-all
python3 salary_lookup.py "Novo Nordisk"
python3 salary_lookup.py "Ørsted" --city "Fredericia"
python3 salary_lookup.py "COWI" --json
python3 salary_lookup.py --list-all
```
## Important notes