If you’re lazy (like me 😆), just use `wget` via subprocess:
```python
import subprocess
url = "https://example.com/file.zip"
subprocess.run(["wget", url])
```
Not pure python3 download file to disk, but it’s one line and works everywhere wget is installed.
```python
import subprocess
url = "https://example.com/file.zip"
subprocess.run(["wget", url])
```
Not pure python3 download file to disk, but it’s one line and works everywhere wget is installed.
