Re: [Tutor] An idea for a script

2007-10-11 Thread Kent Johnson
Dick Moores wrote: > I think I've done it, and with only the initial help from Ian. > > (The output is > pasted at the bottom of the script.) > print "starting at", time.asctime()[11:19] You can ask for the format you want directly: print "starti

Re: [Tutor] An idea for a script

2007-10-10 Thread Dick Moores
I think I've done it, and with only the initial help from Ian. (The output is pasted at the bottom of the script.) Now I have to consider carefully all the ideas and suggestions offered, and also the undoubtedly forthcoming criticism. Thank you

Re: [Tutor] An idea for a script

2007-10-10 Thread Ian Witham
On 10/11/07, Dick Moores <[EMAIL PROTECTED]> wrote: > > At 04:20 PM 10/10/2007, Dick Moores wrote: > >How about a hint of how to get those ">jcooley<" things from the > >source? (I'm able to have the script get the source, using urllib2.) > > > >BTW I thought I wouldn't try to use BeautifulSoup rig

Re: [Tutor] An idea for a script

2007-10-10 Thread Kent Johnson
Dick Moores wrote: > How about a hint of how to get those ">jcooley<" things from the source? > (I'm able to have the script get the source, using urllib2.) > > BTW I thought I wouldn't try to use BeautifulSoup right now, but take > the hard way. Well, you could probably do it with regular expr

Re: [Tutor] An idea for a script

2007-10-10 Thread Dick Moores
At 04:20 PM 10/10/2007, Dick Moores wrote: >How about a hint of how to get those ">jcooley<" things from the >source? (I'm able to have the script get the source, using urllib2.) > >BTW I thought I wouldn't try to use BeautifulSoup right now, but >take the hard way. > >Dick I asked for a hint to

Re: [Tutor] An idea for a script

2007-10-10 Thread Ian Witham
On 10/11/07, Dick Moores <[EMAIL PROTECTED]> wrote: > > At 02:06 PM 10/10/2007, Ian Witham wrote: > > > On 10/11/07, *Dick Moores* <[EMAIL PROTECTED]> wrote: > I think I could learn a lot about the use of Python with the web by > writing a script that would look at > < http://starship.python.net/

Re: [Tutor] An idea for a script

2007-10-10 Thread Dick Moores
At 02:06 PM 10/10/2007, Ian Witham wrote: On 10/11/07, Dick Moores <[EMAIL PROTECTED]> wrote: I think I could learn a lot about the use of Python with the web by writing a script that would look at < http://starship.python.net/crew/index.html> and find all the links to more that just the d

Re: [Tutor] An idea for a script

2007-10-10 Thread Eric Walstad
Dick Moores wrote: > I think I could learn a lot about the use of Python with the web by > writing a script that would look at > and find all the links > to more that just the default shown by this one: > . I

Re: [Tutor] An idea for a script

2007-10-10 Thread Ian Witham
On 10/11/07, Dick Moores <[EMAIL PROTECTED]> wrote: > > I think I could learn a lot about the use of Python with the web by > writing a script that would look at > and find all the links > to more that just the default shown by this one: >

[Tutor] An idea for a script

2007-10-10 Thread Dick Moores
I think I could learn a lot about the use of Python with the web by writing a script that would look at and find all the links to more that just the default shown by this one: . I think there should be about