79303801

Date: 2024-12-23 17:35:17
Score: 0.5
Natty:
Report link

I am sure purists may not accept this, but I have been using the fact that Windows uses drive letters:

from pathlib import Path

if Path().resolve().drive == '': print('Not Windows')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Martin R