Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'alternatives': 0.09; 'url:faqs': 0.09; 'subject:python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ftp,': 0.16; 'invoking': 0.16; 'url:catb': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'jan': 0.18; 'example': 0.23; 'this:': 0.23; 'header:In-Reply-To:1': 0.25; 'strongly': 0.27; 'message-id:@mail.gmail.com': 0.27; 'questions.': 0.29; 'url:mailman': 0.29; 'subject: ?': 0.30; 'code': 0.31; 'url:python': 0.32; 'url:listinfo': 0.32; 'asked': 0.33; 'done,': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'doing': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'url:mail': 0.40; "you've": 0.61; '2013': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uU/gcundm+rEg1sLV5VBbLyNGWz15gNpgMFgNFGsx4c=; b=lbc2gETV5S9HrV6vTKtIhaGn2mfKzHm8LG6pb/rIgjhow2x7WhDAVDB5h5rTo3Pm93 MAkxG5SVhsMxuAw+Wwe4t/bRjw1IXh4eRoNwOv7Mqn1ABsXgux/J/bDmqbQQ5oB+ji7f 7+g29BsOOC/BFa37Z+ipBLDao4TIuHeYsBAnzQAMUnvC34fv/gYJKBVzaEsYYfGCDvPA rS54SG5s4vfRNKyPqKo+XjrkTdXL9BJnrkPZxlt+A7UZtHYmJlaX4tFHRLUEinPis6za rB0kS4MDFgAWezVI/ZY0ESU2KiZtqmZVkjJVRx/u2cMJo/REqf4B1INGa4w3P+vnqKgE neJA== MIME-Version: 1.0 In-Reply-To: <49ca3718-159f-40cd-96bf-983ddb96202b@googlegroups.com> References: <49ca3718-159f-40cd-96bf-983ddb96202b@googlegroups.com> Date: Thu, 10 Jan 2013 13:36:17 +1100 Subject: Re: How to call wget by python ? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357785386 news.xs4all.nl 6863 [2001:888:2000:d::a6]:57521 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36548 On Thu, Jan 10, 2013 at 1:11 PM, iMath wrote: > can you give me an example code ? > -- > http://mail.python.org/mailman/listinfo/python-list You've asked several very vague questions. I would strongly recommend that you read this: http://www.catb.org/esr/faqs/smart-questions.html Invoking wget can be done, but you may want to consider alternatives such as doing the network request (HTTP, FTP, or whatever) directly in Python. A one-line request that we do heaps of work for you is not the best way to get results. ChrisA