From: flebber on 2 Aug 2010 09:13 HI guys and gals this is probably a simple question but I can't find the answer directly in the docs for python mechanize. http://pypi.python.org/pypi/mechanize/ Is it possible to retrieve and save a web page data as xml or a csv file?
From: Simon Brunning on 2 Aug 2010 09:41 On 2 August 2010 14:13, flebber <flebber.crue(a)gmail.com> wrote: > HI guys and gals this is probably a simple question but I can't find > the answer directly in the docs for python mechanize. > > http://pypi.python.org/pypi/mechanize/ > > Is it possible to retrieve and save a web page data as xml or a csv > file? Sure, but mechanize only does the first half of the job. You retrieve the data using mechanize, then use another module for the save-as bit. ElementTree for XML and csv for, um, for csv are both in the standard library. -- Cheers, Simon B.
|
Pages: 1 Prev: run subprocesses in parallel Next: Simple Data Entry Work |