Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36553

Re: How to call wget by python ?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <torriem@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:How': 0.09; 'httplib': 0.09; 'subject:python': 0.11; 'suggest': 0.11; '"python': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'python),': 0.16; 'wrote:': 0.17; "i'd": 0.22; 'example': 0.23; 'external': 0.24; 'command': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'run': 0.28; 'subject: ?': 0.30; 'code': 0.31; 'google,': 0.32; 'to:addr:python-list': 0.33; 'pm,': 0.35; 'received:org': 0.36; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'process."': 0.84
X-Virus-Scanned amavisd-new at torriefamily.org
Date Wed, 09 Jan 2013 20:04:31 -0700
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121115 Thunderbird/10.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: How to call wget by python ?
References <49ca3718-159f-40cd-96bf-983ddb96202b@googlegroups.com>
In-Reply-To <49ca3718-159f-40cd-96bf-983ddb96202b@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.358.1357787077.2939.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357787077 news.xs4all.nl 6937 [2001:888:2000:d::a6]:41322
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36553

Show key headers only | View raw


On 01/09/2013 07:11 PM, iMath wrote:
> can you  give me an example code ?

No but I can suggest some alternative ideas, such as using httplib
(built into python), or libcurl.  Or if you have to use wget, you run it
the same way you run any external command from python.  If it were my
I'd plunk a few search terms in google, such as "python run external
process."

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to call wget by python ? iMath <redstone-cold@163.com> - 2013-01-09 18:11 -0800
  Re: How to call wget by python ? Chris Angelico <rosuav@gmail.com> - 2013-01-10 13:36 +1100
  Re: How to call wget by python ? Michael Torrie <torriem@gmail.com> - 2013-01-09 20:04 -0700
    Re: How to call wget by python ? 88888 Dihedral <dihedral88888@googlemail.com> - 2013-01-09 19:21 -0800
      Re: How to call wget by python ? Chris Angelico <rosuav@gmail.com> - 2013-01-10 14:38 +1100
    Re: How to call wget by python ? 88888 Dihedral <dihedral88888@googlemail.com> - 2013-01-09 19:21 -0800
  Re: How to call wget by python ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-10 03:55 +0000
  Re: How to call wget by python ? rurpy@yahoo.com - 2013-01-09 21:01 -0800

csiph-web