How to use wget in PyCharm for downloading files directly? or Can you use wget in PyCharm to automate

22 Replies, 2100 Views

If you're set on using wget in PyCharm, you can call it via `subprocess`. Here’s a quick snippet:

```python
import subprocess
subprocess.run(["wget", "your_url_here"])
```
Works like a charm, but yeah, `requests` is probably better for most cases.

Messages In This Thread



Users browsing this thread: 1 Guest(s)