import os
os.system('wget ownport.blogspot.com')
Example 2
import os
h = os.popen('wget -q -O ownport.blogspot.com.txt http://ownport.blogspot.com')
h.close()
s = open('ownport.blogspot.com.txt').read()
Example 3
import subprocess
successful_download=subprocess.call('wget -c http://ownport.blogspot.com')
0 comments:
Post a Comment