Re: [BangPypers] How to compare the relevancy between news headlines?

2011-06-13 Thread Ramdas S
On Tue, Jun 14, 2011 at 12:07 PM, Gopalakrishnan Subramani < gopalakrishnan.subram...@gmail.com> wrote: > All, > > While looking into news.google.co.in site, they find the similar news by > grouping them.. > > For example, The following news headlines from different online portal are > grouped tog

Re: [BangPypers] Image comparison using Python

2011-06-13 Thread Nitin Kumar
we need to compare text also but most of the time Image Quality between two pdf. On Tue, Jun 14, 2011 at 11:47 AM, Noufal Ibrahim wrote: > Depends on what you want out of it. You could extract text and just > diff it or you can check sum the files and compare the hashes. > > On 6/14/11, Nitin Ku

[BangPypers] How to compare the relevancy between news headlines?

2011-06-13 Thread Gopalakrishnan Subramani
All, While looking into news.google.co.in site, they find the similar news by grouping them.. For example, The following news headlines from different online portal are grouped together. Jayalalithaa meets PM, DMK watches closely Jaya to meet PM today in New Delhi Jaya-PM meet, 'jittery' DMK wat

[BangPypers] [SOLVED] Re: How to compare two PyUnicode objects ?

2011-06-13 Thread Kushal Das
On Tue, Jun 14, 2011 at 11:37 AM, Kushal Das wrote: > Hi, > > I am writing a python extension in C. I have two PyObjects of type > PyUnicode. Now I want to compare the values in the both. Which > function I should use for the same ? I was trying PyObject_Compare > from [1] but not the getting the

Re: [BangPypers] Image comparison using Python

2011-06-13 Thread Noufal Ibrahim
Depends on what you want out of it. You could extract text and just diff it or you can check sum the files and compare the hashes. On 6/14/11, Nitin Kumar wrote: > HI All, > > We are looking for python comparison tool (Don't suggest PIL as it was not > useful for us). > please do let me know if y

[BangPypers] Image comparison using Python

2011-06-13 Thread Nitin Kumar
HI All, We are looking for python comparison tool (Don't suggest PIL as it was not useful for us). please do let me know if you any good one. we are looking for the tool to compare two pdf files. -- Nitin K ___ BangPypers mailing list BangPypers@pytho

Re: [BangPypers] return value

2011-06-13 Thread Nitin Kumar
Couldn't solve your puzzle :( On Mon, Jun 13, 2011 at 9:39 PM, Venkatraman S wrote: > On Mon, Jun 13, 2011 at 9:11 PM, Nitin Kumar wrote: > > > It takes, *arg as well as**args. > > I just gave an example to show the return from function behavior. > > > > Then it should be easy right... > think

[BangPypers] How to compare two PyUnicode objects ?

2011-06-13 Thread Kushal Das
Hi, I am writing a python extension in C. I have two PyObjects of type PyUnicode. Now I want to compare the values in the both. Which function I should use for the same ? I was trying PyObject_Compare from [1] but not the getting the correct result. Any link/example to read ? [1] http://docs.pyth

Re: [BangPypers] Use group meeting

2011-06-13 Thread Noufal Ibrahim
Any +1s at all? On 6/9/11, Noufal Ibrahim wrote: > Sidu Ponnappa writes: > > I can talk about OuchDB, a project I'm working on to implement CouchDB > API on relational databases. > Curious : whats the use case? >> >> I would use it just because the name is awesome. :) > > [

Re: [BangPypers] Error loading fixtures after adding a contenttype relation

2011-06-13 Thread Kenneth Gonsalves
On Mon, 2011-06-13 at 22:05 +0530, Amit Sethi wrote: > IntegrityError: duplicate key value violates unique constraint > "django_content_type_app_label_key" it means that that particular column is already in the database. -- regards Kenneth Gonsalves http://lawgon.livejournal.com/ __

Re: [BangPypers] This June Get In and Drive, Python, Android, Web3.0 and Cloud Computing with GuRu Prevails

2011-06-13 Thread director guruprevails
> > Dear Python Members, > > > We thank you for *register*ing your interest *in* one or more of our *cutting > edge courses*. > > We are proud to announce our* *twelfth* **work-shop* with *live projects* > on *Python, Web 3.0, Android and Cloud Computing* in* **Bangalore* at > GuRu Prevails! For

[BangPypers] Error loading fixtures after adding a contenttype relation

2011-06-13 Thread Amit Sethi
Hi all , While doing some experiments to extend some features of my project . I added an app and tried to create a generic relation using the contenttype framework as described here https://docs.djangoproject.com/en/dev/ref/contrib/contenttypes/ However when run syncdb again . The fixtures fail

Re: [BangPypers] return value

2011-06-13 Thread Venkatraman S
On Mon, Jun 13, 2011 at 9:11 PM, Nitin Kumar wrote: > It takes, *arg as well as**args. > I just gave an example to show the return from function behavior. > Then it should be easy right... think in terms of...what you will do when you are given an ice-cream... case 1 - your gf is next to you cas

Re: [BangPypers] return value

2011-06-13 Thread Nitin Kumar
Yes, It takes, *arg as well as**args. I just gave an example to show the return from function behavior. Thanks Nitin K On Mon, Jun 13, 2011 at 8:02 PM, Venkatraman S wrote: > On Mon, Jun 13, 2011 at 7:49 PM, Nitin Kumar wrote: > > > > > In my framework, some of function returns a Tuple. > > >

Re: [BangPypers] return value

2011-06-13 Thread Venkatraman S
On Mon, Jun 13, 2011 at 7:49 PM, Nitin Kumar wrote: > > In my framework, some of function returns a Tuple. > > def fn (): >return a,b > > x,y = fn() > > Going forward, I got such a situation where we need to return single value > from function. (Don't ask me to retain old behavior :) ) > > No

[BangPypers] return value

2011-06-13 Thread Nitin Kumar
HI All, In my framework, some of function returns a Tuple. def fn (): return a,b x,y = fn() Going forward, I got such a situation where we need to return single value from function. (Don't ask me to retain old behavior :) ) Now the problem is we need to maintain backward compatibility too.