On Wed, Nov 16, 2016 at 7:09 PM, Steven D'Aprano
wrote:
> I'm trying to download a file using urllib.request and pipe it straight to an
> external process. On Linux systems, the following is a test file that
> demonstrates the problem:
>
>
> --- cut ---
>
> #!/usr/bin/python3.5
>
> import urllib.r
I'm trying to download a file using urllib.request and pipe it straight to an
external process. On Linux systems, the following is a test file that
demonstrates the problem:
--- cut ---
#!/usr/bin/python3.5
import urllib.request
import subprocess
TEST_URL = 'https://www.irs.gov/pub/irs-prior