Perhaps a silly question, but what encoding is the page you are getting?
You can check this by loading the page in FireFox, going to the view menu,
and selecting "character encoding". That will tell you what FireFox thinks
is the encoding.
If it's not UTF-8, you'll probably have to convert it.
-
I think whether you chose Symbian or Mameo comes down to whether you are
betting on the future of cell phones being Linux or not, and what sort of
time frame you are most concerned about.
Many cell phones currently run Linux behind the scenes. The N900 (excluding
one or two failed "open source" p
Anand---
Thanks, that worked great.
-Sam
On Tue, May 26, 2009 at 7:34 PM, Anand Chitipothu wrote:
> > text = "The Price £7"
> > pattern = u"£\d"
> >
> > m = re.search(pattern, text, re.UNICODE)
> > print m.group(0)
>
> Your text is in utf-8 encoding and pattern in unicode.
> Make text unicode s
Hello everyone...
I have a small problem...I'm trying to match a pound symbol in a document
using Python. (Version 2.5.2, although I also ran this under 2.6 and it
seemed to give the same result. But ultimately I need correct code for
2.5.2)
Here's the code:
#!/usr/bin/env python
# -*- coding:
On Tue, Mar 31, 2009 at 11:18 PM, Anand Balachandran Pillai <
abpil...@gmail.com> wrote:
> On Wed, Apr 1, 2009 at 12:42 AM, Shekhar wrote:
> > Already slashdotted and many of us should already be knowing but could
> > not resist posting.
> >
> http://arstechnica.com/open-source/news/2009/03/googl
Sorry for the belated comment
If you are not writing a web app from scratch, but just want to add a web
interface to an already existing python application you will probably find
CherryPy to be a much easier solution. TurboGears and Pylons have an awful
lot of scaffolding. This can be usefu
Thank you!
Anand and I have been discussing Python and web crawlers for the past few
years. He's been incredibly helpful and he speaks very highly of this
group.
I look forward to the discussions.
-Sam
On Fri, Feb 6, 2009 at 5:58 AM, Amit k. Saha wrote:
> On Fri, Feb 6, 2009 at 7:14 PM, Anand