python 2.7 - wget2 - works in bash shell but not on windows -
i'm using python 2.7.13 , executing script sublime text 3 on windows 10.
i use wget download files use wget2 instead. i've compiled code here wget2.exe: https://github.com/rockdaboot/wget2
when run script sublime text works expected , file downloaded.
from subprocess import call wget_path = "x:/wget.exe" filetodownload = "http://192.168.1.181/media/test_01.mov" destinationfile = "x:/thing.mov" call([wget_path, filetodownload, "--output-document=" + destinationfile])
if switch wget.exe wget2.exe nothing happens , script finishes. have wget2.exe in same directory wget.exe.
if use mysys2 bash shell, can run wget2.exe there cd'ing it's directory , typing out entire command.
when try doing same in windows command prompt wget.exe works wget2.exe doesn't. nothing , gives no feedback.
what need wget2 work script?
wiki
Comments
Post a Comment