By only using the float type for 8.1 we can just print OS_VERSION to get 7, 8, 8.1, 10, and maybe 11? To future me, sorry if you decide to add type hints to the project. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| linux.py | ||
| mac.py | ||
| win.py | ||
By only using the float type for 8.1 we can just print OS_VERSION to get 7, 8, 8.1, 10, and maybe 11? To future me, sorry if you decide to add type hints to the project. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| linux.py | ||
| mac.py | ||
| win.py | ||