Re: Crummy BS Script

2010-10-03 Thread Nobody
On Sat, 02 Oct 2010 22:15:31 -0700, flebber wrote: Cargo Cult Coding? Not sure what it is but it sounds good. Imitation without understanding, aka monkey-see-monkey-do. http://en.wikipedia.org/wiki/Cargo_cult -- http://mail.python.org/mailman/listinfo/python-list

Re: Crummy BS Script

2010-10-02 Thread Steven D'Aprano
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: flebberflebber.c...@gmail.com  writes: But where is this saving the imported file and under what name? Looks like samples.csv: f =

Re: Crummy BS Script

2010-10-02 Thread flebber
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: flebberflebber.c...@gmail.com  writes: But where is

Re: Crummy BS Script

2010-10-02 Thread John Bokma
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:

Re: Crummy BS Script

2010-10-02 Thread flebber
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:

Re: Crummy BS Script

2010-10-02 Thread flebber
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

Crummy BS Script

2010-10-01 Thread flebber
I have a simple question regarding the Beuatiful soup crummy script. The last line is f.write('%s, %s, %s, %s, %s \n' % (i, t[0], t[1], t[2], t[3])), But where is this saving the imported file and under what name? #!/usr/bin/env python # ogm-sampples.py # Author: Matt Mayes # March 11, 2008 --

Re: Crummy BS Script

2010-10-01 Thread Burton Samograd
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') -- Burton Samograd -- http://mail.python.org/mailman/listinfo/python-list

Re: Crummy BS Script

2010-10-01 Thread MRAB
On 01/10/2010 23:29, Burton Samograd wrote: flebberflebber.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') It'll be in the current working directory, which is given by: os.getcwd() --

Re: Crummy BS Script

2010-10-01 Thread flebber
On Oct 2, 9:27 am, MRAB pyt...@mrabarnett.plus.com wrote: On 01/10/2010 23:29, Burton Samograd wrote: flebberflebber.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') It'll be in the current