Re: [python-uk] memoize & ordering of kwargs.items()

2011-11-11 Thread Alexander Harrowell
On Friday 11 Nov 2011 09:30:23 Jonathan wrote: > I agree that 'to be sure' is enough of a justification for including the 'sorted' call anyway. But it irks me that I can't write a test to show it. This is surely inherent in the fact that python dictionaries are not deterministically ordered. Th

Re: [python-uk] Tell us what you did with Python this year....

2010-12-21 Thread Alexander Harrowell
I've been parsing government data with BeautifulSoup and Scraperwiki, and working on visualising it with NetworkX and Matplotlib. -- The only thing worse than e-mail disclaimers...is people who send e-mail to lists complaining about them signature.asc Description: This is a digitally signed m

Re: [python-uk] Favourite ways of scrubbing HTML/whitelisting specific HTML tags?

2008-02-07 Thread Alexander Harrowell
On Thu, Feb 7, 2008 at 7:11 PM, Shaun Laughey <[EMAIL PROTECTED]> wrote: > > Hi, > I have used Beautiful Soup for parsing html. > It works very nicely and I didn't see much of an issue with speed in > parsing several hundred html files every hour or so. > I also rolled my own using various regex's

Re: [python-uk] Favourite ways of scrubbing HTML/whitelisting specific HTML tags?

2008-02-07 Thread Alexander Harrowell
If you're not bothered about speed, BeautifulSoup can catch, remove and replace arbitrary HTML tags in a document. On Thu, Feb 7, 2008 at 2:35 PM, Michael Sparks <[EMAIL PROTECTED]> wrote: > Hi, > > > Just a quick Q for people: what's your favourite way (preferably a library > :) > of allowing a

Re: [python-uk] Anyone alive?

2007-12-05 Thread Alexander Harrowell
I'm sure many have seen this: http://xkcd.com/353/ ___ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk

Re: [python-uk] Reading a file of tab-separated values

2007-11-16 Thread Alexander Harrowell
Works anyway. Thanks. ___ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk

Re: [python-uk] Reading a file of tab-separated values

2007-11-16 Thread Alexander Harrowell
On Nov 16, 2007 2:31 PM, Tim Head <[EMAIL PROTECTED]> wrote: > On 16/11/2007, Alexander Harrowell <[EMAIL PROTECTED]> wrote: > > On Nov 16, 2007 8:57 AM, Mark Summerfield <[EMAIL PROTECTED]> wrote: > > > On 2007-11-16, Jeremy Nicoll - pyuk wrote: > >

Re: [python-uk] Reading a file of tab-separated values

2007-11-16 Thread Alexander Harrowell
On Nov 16, 2007 8:57 AM, Mark Summerfield <[EMAIL PROTECTED]> wrote: > On 2007-11-16, Jeremy Nicoll - pyuk wrote: > > Is there a simple way to read a whole (modest sized, parameter) file of > > lines of tab-separated lines into one Python data-structure? > > I think the csv module can do this. (Des

Re: [python-uk] Cambridge and East Anglian Python Users Group

2007-10-31 Thread Alexander Harrowell
Egham. On 10/31/07, Tim Golden <[EMAIL PROTECTED]> wrote: > Alexander Harrowell wrote: > > Anyone in the Heathrow/Thames Valley/West London pythosphere? > > Well, I'm based in Ealing. But I usually go to the (central) London > meetups, as I work in Camden Town.

Re: [python-uk] Cambridge and East Anglian Python Users Group

2007-10-31 Thread Alexander Harrowell
Anyone in the Heathrow/Thames Valley/West London pythosphere? On 10/31/07, Richard Lewis <[EMAIL PROTECTED]> wrote: > Python UK users, > > We held our first meeting of the Cambridge and East Anglian Python > Users Group in Cambridge last night and we have created a Google > Group to help us collab

Re: [python-uk] London Python meetup, Wednesday, October the 10th

2007-09-18 Thread Alexander Harrowell
I have an interesting little project on; nothing technically weird, but a politically curious application for python, beautifulsoup, and rss. If it's ready by then I'll demo it. Alex http://yorkshire-ranter.blogspot.com On 9/18/07, Fuzzyman <[EMAIL PROTECTED]> wrote: > > Sam Clegg wrote: > > >On