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


Groups > comp.lang.python > #2840

Re: [2.5.1] Script to download and rename bunch of files?

From Gilles Ganault <nospam@nospam.com>
Newsgroups comp.lang.python
Subject Re: [2.5.1] Script to download and rename bunch of files?
Date 2011-04-08 15:30 +0200
Message-ID <2f3up6dqcopalfkbidldv9vof8gj0ebter@4ax.com> (permalink)
References <dl0up6t29trj19c96cch9fqvuq9dp47c4d@4ax.com> <inn1nd$mh8$1@news.univ-fcomte.fr>
Organization Guest of ProXad - France

Show all headers | View raw


On Fri, 08 Apr 2011 15:14:27 +0200, Laurent Claessens
<moky.math@gmail.com> wrote:
>The following puts in the string `a` the code of the page urlBase :
>
>a = urllib.urlopen(urlBase).read()
>
>Then you have to write `a` in a file.
>
>There could be better way.

Thank you.

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


Thread

[2.5.1] Script to download and rename bunch of files? Gilles Ganault <nospam@nospam.com> - 2011-04-08 14:47 +0200
  Re: [2.5.1] Script to download and rename bunch of files? Laurent Claessens <moky.math@gmail.com> - 2011-04-08 15:14 +0200
    Re: [2.5.1] Script to download and rename bunch of files? Gilles Ganault <nospam@nospam.com> - 2011-04-08 15:30 +0200

csiph-web