On Oct 3, 4:15 pm, flebber <flebber.c...@gmail.com> wrote: > On Oct 3, 9:58 am, John Bokma <j...@castleamber.com> wrote: > > > > > flebber <flebber.c...@gmail.com> writes: > > > On Oct 2, 4:24 pm, Steven D'Aprano <st...@remove-this- > > > cybersource.com.au> wrote: > > >> On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote: > > >> > On Oct 2, 9:27 am, MRAB <pyt...@mrabarnett.plus.com> wrote: > > >> >> On 01/10/2010 23:29, Burton Samograd wrote:> > > >> >> flebber<flebber.c...@gmail.com> writes: > > > >> >> >> But where is this saving the imported file and under what name? > > > >> >> > Looks like samples.csv: > > > >> >> >> f = open('samples.csv', 'w') > > > How do change where output goes and what its called > > > f = open('samples.csv', 'w') > > > were else? Maybe read a beginners book on Python before you start on a > > path of Cargo Cult Coding? > > > -- > > John Bokma j3b > > > Blog:http://johnbokma.com/ Facebook:http://www.facebook.com/j.j.j.bokma > > Freelance Perl & Python Development:http://castleamber.com/ > > Cargo Cult Coding? > > Not sure what it is but it sounds good.
When I get an error from this when using Alan's site as a test this a result of the script being unable to pass page elements isn't it? http://www.freenetpages.co.uk/hp/alan.gauld/ Traceback (most recent call last): File "C:\Sayth\Scripts\BSScriptCrummy.py", line 38, in <module> for ul in soup.html.body.findAll('ul'): AttributeError: 'NoneType' object has no attribute 'findAll' Script terminated. -- http://mail.python.org/mailman/listinfo/python-list