Re: Does Pygoogle allows for advanced search options?

2010-11-21 Thread Petar Milin
least to me) to check for the correlations between numbers. That would answer whether there is some/any consistency. Best, Petar - Original message - > Am 21.11.2010 20:35, schrieb Petar Milin: > > Hello ALL! > > I am playing with the modified version of the Pygo

Re: Does Pygoogle allows for advanced search options?

2010-11-21 Thread Petar Milin
Hello ALL! I am playing with the modified version of the Pygoogle (by Stefan). Interesting thing is that get_result_count() gives numbers/results different from those in Google. Has anyone checked this? Does anyone know why? Best, Petar -- http://mail.python.org/mailman/listinfo/python-list

Re: Does Pygoogle allows for advanced search options?

2010-11-21 Thread Petar Milin
og. languages. So, if I read pygoogle.py well, I sould add lr parameter in init and then after lines 68 and 102? Thanks again! You guys here are very kind and helpful! Best, Petar -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to use Google's advanced search options?

2010-11-21 Thread Petar Milin
professional user/programer; quite far from that. Best, Petar On 20/11/10 21:27, Stefan Sonnenberg-Carstens wrote: Am 20.11.2010 20:24, schrieb Petar Milin: Thanks so much! However, 'options lang:de' does not exactly the same as would 'lr=lang_de'? Am I right? You're ri

Re: Python-list Digest, Vol 86, Issue 176

2010-11-20 Thread Petar Milin
gt;> from math import pi >>>> Fraction.from_float(pi).limit_denominator(1000) > Fraction(355, 113) > > -- > Mark > > > > -- Forwarded message -- > From: Stefan Sonnenberg-Carstens > To: python-l...@python.org > Date: Sat, 20 Nov

Is it possible to use Google's advanced search options?

2010-11-20 Thread Petar Milin
Hello! Can anyone help me with getting number of hits from Google, but with restricton on domain (e.g., .edu) and language (e.g., lang_de)? I have tried with the Pygoogle (from: http://code.google.com/p/pygoogle/

Re: OOP: How to implement listing al 'Employees'.

2007-12-29 Thread Petar
On 28 dec, 19:42, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Fri, 28 Dec 2007 04:05:59 -0800 (PST), Petar <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > I was just wondering. > > > What if you have a 'Employees' cl

Re: OOP: How to implement listing al 'Employees'.

2007-12-28 Thread Petar
On 28 dec, 13:40, Bjoern Schliessmann wrote: > Petar wrote: > > What is the better way of doing this? And should a class always > > reference only on 'item'? > > It fully depends on what you want to do in your program. If you just > want to have a list of empl

OOP: How to implement listing al 'Employees'.

2007-12-28 Thread Petar
I was just wondering. What if you have a 'Employees' class and you want to list all the employees. Currenlty i'm seeing to possibilities: - create a 'listAll' function inside the class which returns all the employees in a array. - create multiple instances, putting them in a array, by calling the