If you’re lazy (like me), just use `ping3` for a quick uptime check:
```python
from ping3 import ping
if ping("example.com"):
print("Site’s up!")
else:
print("RIP site.")
```
Not HTTP status codes, but dead simple for "is it alive?" checks.
```python
from ping3 import ping
if ping("example.com"):
print("Site’s up!")
else:
print("RIP site.")
```
Not HTTP status codes, but dead simple for "is it alive?" checks.
