Question: I'm trying to save the contents of an entire Wordpress site using python and without ftp / server access. In other words, I want to save a "complete copy, or closest possible" of the Wordpress site to disk and I can't download everything from ftp / server.

I've found some options to iterate through the various pages that make up the site, but nothing that will "save the site as a whole."

Answer: 
If you really want to use Python and nothing else, you could use [wpull](http://wpull.readthedocs.org/en/master/index.html), which is a wget clone written in Python. They have an example for archiving/downloading an entire website in their docs.

```
wpull billy.blogsite.example --warc-file blogsite-billy \
--no-check-certificate \
--no-robots --user-agent "InconspiuousWebBrowser/1.0" \
--wait 0.5 --random-wait --waitretry 600 \
--page-requisites --recursive --level inf \
--span-hosts --domains blogsitecdn.example,cloudspeeder.example \
--hostnames billy.blogsite.example \
--reject-regex "/login\.php"  \
--tries inf --retry-connrefused --retry-dns-error \
--delete-after --database blogsite-billy.db \
--quiet --output-file blogsite-billy.log

```
Not using python (although I'm sure you could hack up something -- or possibly find something on pypi), but why not just use wget. Something like:

```
wget -rkp -l3 -np -nH --cut-dirs=1 http://example.com

```

Of course if you REALLY want to do it in python, you could:

```
import subprocess
subprocess.call(['wget', '-rkp', '-l3', '-np', '-nH', '--cut-dirs=1', 'http://example.com'])

```