r.url']
does work. Which is what had me frowning.
Also,
this ugly url mask is working:
>>> UglyUrlMask = r"(http://[\w\Q./\?=\R]+|http://[\w\Q./\?=\R]+)"
>>> re.findall(UglyUrlMask,text)
['http://this.is.a/url?header=null', 'http://and.anoth
string optional- only a single character via []s. I
for some reason thuoght it'll be ()s, but no help there- it just returns
only the . Anybody?
Thx,
Omer.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Rich" Lovely, part of the JNP|UK Famile
> www.theJNP.com
>
>
>
> 2008/12/23 Kent Johnson :
> > On Tue, Dec 23, 2008 at 9:31 AM, Omer
> > >
> wrote:
> >
> >>>>> from urllib import urlopen
> >>>>> class fetch(urlopen)
:
> urlopen.__init__(self, *args)
> self.content = self.read()
>
>
> This probably doesn't behave exactly the same way as the google class,
> but it should be similar enough?
> ---
> Richard "Roadie Rich" Lovely, part of the JNP|UK Fam
basically want fetch(url.com).content to replace urlopen(url.com).read()
Mind, content is not a method.
Thoughts?
Thx. Omer.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Fri, Oct 3, 2008 at 9:45 AM, David <[EMAIL PROTECTED]> wrote:
> Here is the code:
>
> def main():
> import string
>
Hey,
lagging a bit behind the list,
"import string" is unnecessary, mate.
___
Tutor maillist - Tutor@python.org
http://mail.pytho
You could check out Google Visualization API. supposed to be fairly nifty;
haven't had time to check it out myself though.
On Wed, Oct 1, 2008 at 4:49 PM, R. Alan Monroe <[EMAIL PROTECTED]>wrote:
> > Is there a text graphics module that does say scatter plots or
> > histograms? I'm thinking of st
(Or you could start using Gmail, which conveniantly archives Qs with their
As, based on subject line,)
On Wed, Oct 1, 2008 at 12:26 AM, Alan Gauld <[EMAIL PROTECTED]>wrote:
>
> "Danny Yoo" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>> Yup. See:
>>
>> http://mail.python.org
No, I shouldn't think it is. Lots o' folk use this list in archived mode and
the important bit is that each question comes with an answer, regardless of
the actual persons involved.
On Thu, Sep 25, 2008 at 10:58 PM, Adrian Greyling <[EMAIL PROTECTED]
> wrote:
> Is it a faux pas to answer your own
I went through a similar process:
I got used to PyWin on XP, then when switching to Vista pywin did not
install with Python.
So I simply downloaded and installed it.
(link: http://sourceforge.net/projects/pywin32/
)
Hth,
Omer.
On Sat, Sep 13, 2008 at 5:41 AM, Mike Meisner <[EMAIL PROTEC
On Fri, Sep 12, 2008 at 2:31 AM, Alan Gauld <[EMAIL PROTECTED]>wrote:
> Yes if you spend a lot of money.
> You can buy a set of libraries from a comany called Bristol
> Technology (I think, it's over 8 years since I used it!) that allows
> you to build Windows software on a Unix box. A bit like cy
name:")]
self.Surname = str[str.find("Last name:")+len("Last
name:"):str.find("date_of_birth")]
And just create a list of these, adding various get methods for easy
information retrieval.
(Here's for wandering whether my way of doing it counts as Pythonic.
. (Although, if there's no choice that's what I'll do.)
Sorry about this message's length,
Help will be appreciated, thank you for your time.
Omer.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
13 matches
Mail list logo