Re: Great Math Mystery

2015-04-17 Thread Ron Adam
On 04/17/2015 11:03 AM, Steven D'Aprano wrote: On Fri, 17 Apr 2015 07:47 pm, Fetchinson . wrote: >>>In an altercation with the police, complying with their orders greatly >>>increases your chances of survival. >> >>Ah, the definition of a police state: where ordinary people, whether >>breaki

Re: Great Math Mystery

2015-04-17 Thread Steven D'Aprano
On Fri, 17 Apr 2015 07:47 pm, Fetchinson . wrote: >>> In an altercation with the police, complying with their orders greatly >>> increases your chances of survival. >> >> Ah, the definition of a police state: where ordinary people, whether >> breaking the law or not, are forced by fear of death to

Re: Great Math Mystery

2015-04-17 Thread alister
On Fri, 17 Apr 2015 11:47:06 +0200, Fetchinson . wrote: >>> In an altercation with the police, complying with their orders greatly >>> increases your chances of survival. >> >> Ah, the definition of a police state: where ordinary people, whether >> breaking the law or not, are forced by fear of de

Re: Great Math Mystery

2015-04-17 Thread Fetchinson .
>> In an altercation with the police, complying with their orders greatly >> increases your chances of survival. > > Ah, the definition of a police state: where ordinary people, whether > breaking the law or not, are forced by fear of death to obey the police at > all times, whether the police are

Re: Great Math Mystery

2015-04-16 Thread Matthew Barnett
Do you mean Pythonesque or Pythonic?-- https://mail.python.org/mailman/listinfo/python-list

Re: Great Math Mystery

2015-04-16 Thread Ben Bacarisse
Steven D'Aprano writes: > On Fri, 17 Apr 2015 07:15 am, Seymore4Head wrote: > >> I am guessing that a few here might find this program interesting. >> http://video.pbs.org/video/2365464997/ > > For the sake of those of us with limited access to the Internet at the > moment (say, we're behind a co

Re: Great Math Mystery

2015-04-16 Thread Ben Finney
Seymore4Head writes: > I am guessing that a few here might find this program interesting. Without any context to say what it's about or why it's relevant in this forum, that message is effectively noise. Please take more care to consider your audience. -- \“You can't have everything;

Re: Great Math Mystery

2015-04-16 Thread Steven D'Aprano
On Fri, 17 Apr 2015 07:15 am, Seymore4Head wrote: > I am guessing that a few here might find this program interesting. > http://video.pbs.org/video/2365464997/ For the sake of those of us with limited access to the Internet at the moment (say, we're behind a corporate firewall, or our browser has

Re: great

2010-06-04 Thread Jean-Michel Pichavant
joblack wrote: Great - it works. Thanks a lot. Thread of the week :) JM -- http://mail.python.org/mailman/listinfo/python-list

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread Ben Finney
Big Stu writes: > I'm hoping someone on here can point me to an example of a python > package that is a great example of how to put it all together. I'm > hoping for example code that demonstrates [good adherence to style and > practice conventions] I find the code base for Bazaar to be particu

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread Ben Finney
Josh Holland writes: > On 2010-01-28, exar...@twistedmatrix.com wrote: > > Have you actually looked at any of the standard library? > Not recently or in depth, no. I would have thought that it would be of > high quality. I must have been mistaken. Style conventions were introduced relatively la

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread exarkun
On 07:49 pm, stu.dohe...@gmail.com wrote: Have you actually looked at any of the standard library? Jean-Paul I'm looking at urllib2 right now and it is covering a bunch of the bases I'm looking for. And grepping in the /usr/lib/python2.5/ folder for import statements on various things I'm i

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread Big Stu
> Have you actually looked at any of the standard library? > > Jean-Paul I'm looking at urllib2 right now and it is covering a bunch of the bases I'm looking for. And grepping in the /usr/lib/python2.5/ folder for import statements on various things I'm interested in is bringing up some good exa

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread Josh Holland
On 2010-01-28, exar...@twistedmatrix.com wrote: > Have you actually looked at any of the standard library? Not recently or in depth, no. I would have thought that it would be of high quality. I must have been mistaken. -- Josh "dutchie" Holland http://www.joshh.co.uk/ http://twitter.com/jshholl

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread Joan Miller
On 28 ene, 19:17, Big Stu wrote: > I'm hoping someone on here can point me to an example of a python > package that is a great example of how to put it all together.  I'm > hoping for example code that demonstrates: > > -Strict adherence to PEP 8 > -thorough use of Docstrings > -Conventional direc

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread Big Stu
On Jan 28, 2:28 pm, Josh Holland wrote: > On 2010-01-28, Big Stu wrote: > > > I'm hoping someone on here can point me to an example of a python > > package that is a great example of how to put it all together.  I'm > > hoping for example code that demonstrates: > > Surely most of the Standard Li

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread exarkun
On 07:28 pm, j...@joshh.co.uk wrote: On 2010-01-28, Big Stu wrote: I'm hoping someone on here can point me to an example of a python package that is a great example of how to put it all together. I'm hoping for example code that demonstrates: Surely most of the Standard Library should satisf

Re: Great example of a python module/package following up to date conventions.

2010-01-28 Thread Josh Holland
On 2010-01-28, Big Stu wrote: > I'm hoping someone on here can point me to an example of a python > package that is a great example of how to put it all together. I'm > hoping for example code that demonstrates: Surely most of the Standard Library should satisfy all your requirements? -- Josh

Re: Great exercise for python expert !

2008-11-28 Thread manatlan
On 28 nov, 16:53, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > I just want to make a jquery wrapper, and let people use it to write > > jquery call on the server side in a python way ... > > > o is a object, imagine a widget : like a textarea or input box > > "js" is a special attribut of "o",

Re: Great exercise for python expert !

2008-11-28 Thread manatlan
On 28 nov, 17:12, Peter Otten <[EMAIL PROTECTED]> wrote: > manatlan wrote: > > To explain better, here is another code > > class JQueryCaller(object): > >     def __init__(self,callback): > >         self.__callback=callback > >         self._s=[] > > >     def __getattr__(self,name): > >         d

Re: Great exercise for python expert !

2008-11-28 Thread Peter Otten
manatlan wrote: > To explain better, here is another code > class JQueryCaller(object): >     def __init__(self,callback): >         self.__callback=callback >         self._s=[] > >     def __getattr__(self,name): >         def _caller(*args): >             sargs=["'%s'"%i for i in args] >    

Re: Great exercise for python expert !

2008-11-28 Thread Diez B. Roggisch
Steven D'Aprano wrote: > On Fri, 28 Nov 2008 02:36:28 -0800, manatlan wrote: > >> I'd like to make a "jquery python wrapper" > [...] >> here is my code : > [...] > > What is the purpose of this code? As near as I can see, it would make an > excellent entry to the Obfuscated Python Competition, e

Re: Great exercise for python expert !

2008-11-28 Thread Diez B. Roggisch
> > I just want to make a jquery wrapper, and let people use it to write > jquery call on the server side in a python way ... > > o is a object, imagine a widget : like a textarea or input box > "js" is a special attribut of "o", which will let you write javascript > for this object. > > o=MyObj

Re: Great exercise for python expert !

2008-11-28 Thread manatlan
On 28 nov, 15:49, George Sakkis <[EMAIL PROTECTED]> wrote: > On Nov 28, 9:19 am, manatlan <[EMAIL PROTECTED]> wrote: > > > > > On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote: > > > > On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote: > > > > > I'd like to make a "jquery python wrapp

Re: Great exercise for python expert !

2008-11-28 Thread Steven D'Aprano
On Fri, 28 Nov 2008 02:36:28 -0800, manatlan wrote: > I'd like to make a "jquery python wrapper" [...] > here is my code : [...] What is the purpose of this code? As near as I can see, it would make an excellent entry to the Obfuscated Python Competition, except it isn't clear that it does any

Re: Great exercise for python expert !

2008-11-28 Thread George Sakkis
On Nov 28, 9:19 am, manatlan <[EMAIL PROTECTED]> wrote: > On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote: > > > > > On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote: > > > > I'd like to make a "jquery python wrapper" ... > > > > here is my code : > > >

Re: Great exercise for python expert !

2008-11-28 Thread manatlan
On 28 nov, 15:19, manatlan <[EMAIL PROTECTED]> wrote: > On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote: > > > > > On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote: > > > > I'd like to make a "jquery python wrapper" ... > > > > here is my code : > > > ===

Re: Great exercise for python expert !

2008-11-28 Thread manatlan
On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote: > On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote: > > > > > I'd like to make a "jquery python wrapper" ... > > > here is my code : > > === > > #!/usr/bin/env python > >

Re: Great exercise for python expert !

2008-11-28 Thread George Sakkis
On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote: > I'd like to make a "jquery python wrapper" ... > > here is my code : > === > #!/usr/bin/env python > # -*- coding: utf-8 -*- > > class JQueryCaller(object): >     def __init__(s

Re: Great Python books for the beginner

2008-01-17 Thread Jorgen Grahn
On Sat, 12 Jan 2008 01:03:42 -0600, Landon <[EMAIL PROTECTED]> wrote: > Hi, I'm a freshman in college and I'm going to be taking an intro to > programming course next semester which mainly uses Python, so I > thought it might be a good time to pick up Python beyond the scope of > the class as well.

Re: Great Python books for the beginner

2008-01-17 Thread Jorgen Grahn
On Sat, 12 Jan 2008 13:12:19 -0800 (PST), [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On 12 jan, 21:04, Landon <[EMAIL PROTECTED]> wrote: >> One thing I wonder about is the examples these books use to teach the >> concepts. I found myself really attached to K&R because the end of >> section pro

Re: Great Python books for the beginner

2008-01-13 Thread MooJoo
In article <[EMAIL PROTECTED]>, GeneralCody <[EMAIL PROTECTED]> wrote: > On 2008-01-12 08:03:42 +0100, Landon <[EMAIL PROTECTED]> said: > > > Hi, I'm a freshman in college and I'm going to be taking an intro to > > programming course next semester which mainly uses Python, so I > > thought it mi

Re: Great Python books for the beginner

2008-01-13 Thread Graeme Glass
On Jan 12, 9:03 am, Landon <[EMAIL PROTECTED]> wrote: > Hi, I'm a freshman in college and I'm going to be taking an intro to > programming course next semester which mainly uses Python, so I > thought it might be a good time to pick up Python beyond the scope of > the class as well. The text book f

Re: Great Python books for the beginner

2008-01-12 Thread Dick Moores
At 11:03 PM 1/11/2008, Landon wrote: >Hi, I'm a freshman in college and I'm going to be taking an intro to >programming course next semester which mainly uses Python, so I >thought it might be a good time to pick up Python beyond the scope of >the class as well. The text book for this class is Pyth

Re: Great Python books for the beginner

2008-01-12 Thread [EMAIL PROTECTED]
On 12 jan, 21:04, Landon <[EMAIL PROTECTED]> wrote: > One thing I wonder about is the examples these books use to teach the > concepts. I found myself really attached to K&R because the end of > section projects were utilities that I would find be able to find > useful in day to day work such as a

Re: Great Python books for the beginner

2008-01-12 Thread André
On Jan 12, 4:04 pm, Landon <[EMAIL PROTECTED]> wrote: > One thing I wonder about is the examples these books use to teach the > concepts. I found myself really attached to K&R because the end of > section projects were utilities that I would find be able to find > useful in day to day work such as

Re: Great Python books for the beginner

2008-01-12 Thread Landon
One thing I wonder about is the examples these books use to teach the concepts. I found myself really attached to K&R because the end of section projects were utilities that I would find be able to find useful in day to day work such as a version of wc and a program that would take collapse all con

Re: Great Python books for the beginner

2008-01-12 Thread GeneralCody
On 2008-01-12 08:03:42 +0100, Landon <[EMAIL PROTECTED]> said: > Hi, I'm a freshman in college and I'm going to be taking an intro to > programming course next semester which mainly uses Python, so I > thought it might be a good time to pick up Python beyond the scope of > the class as well. The t

Re: Great Python books for the beginner

2008-01-12 Thread babycode
On Jan 12, 2:03 am, Landon <[EMAIL PROTECTED]> wrote: > I was wondering if anyone had any opinions on what other titles I > could look into since this one seems from a glance at reviews to be > teaching mainly through game programming (a topic I'm not too > interested in) or if this one is a quali

Re: Great Python books for the beginner

2008-01-12 Thread Mike
On Jan 12, 7:47 am, Ben Finney <[EMAIL PROTECTED]> wrote: > Landon <[EMAIL PROTECTED]> writes: > > I was wondering if anyone had any opinions on what other titles I > > could look into since this one seems from a glance at reviews to be > > teaching mainly through game programming (a topic I'm not

Re: Great Python books for the beginner

2008-01-12 Thread sween119
On Jan 12, 2:03 am, Landon <[EMAIL PROTECTED]> wrote: > Hi, I'm a freshman in college and I'm going to be taking an intro to > programming course next semester which mainly uses Python, so I > thought it might be a good time to pick up Python beyond the scope of > the class as well. The text book f

Re: Great Python books for the beginner

2008-01-12 Thread Ben Finney
Landon <[EMAIL PROTECTED]> writes: > I was wondering if anyone had any opinions on what other titles I > could look into since this one seems from a glance at reviews to be > teaching mainly through game programming (a topic I'm not too > interested in) or if this one is a quality book by itself.

Re: Great Python books for the beginner

2008-01-12 Thread Jim
Look at http://www.python.org/doc/ . The tutorial is quite good. Jim -- http://mail.python.org/mailman/listinfo/python-list

Re: Great books on Python?

2005-12-11 Thread David Van Mosselbeen
Tolga wrote: > > I am not unfamiliar to programming but a newbie in Python. Could you > recommend me (a) great book(s) to start with? Free online books or > solid books are welcome. > > Thanx in advance. Some days ago there was an similar subject 'Learning Python', wish give you some usefull in

Re: Great books on Python?

2005-12-11 Thread Nate Bargmann
On Sun, 11 Dec 2005 06:15:17 -0800, Tolga wrote: > > I am not unfamiliar to programming but a newbie in Python. Could you > recommend me (a) great book(s) to start with? Free online books or > solid books are welcome. > > Thanx in advance. O'Reilly's Learning Python Second Edition covers up to

Re: Great books on Python?

2005-12-11 Thread D H
Tolga wrote: > I am not unfamiliar to programming but a newbie in Python. Could you > recommend me (a) great book(s) to start with? Free online books or > solid books are welcome. > http://www.ibiblio.org/g2swap/byteofpython/read/index.html http://www.ibiblio.org/obp/thinkCSpy/ http://www.freene

Re: Great books on Python?

2005-12-11 Thread BartlebyScrivener
http://www.awaretek.com/tutorials.html#regular -- http://mail.python.org/mailman/listinfo/python-list

Re: Great books on Python?

2005-12-11 Thread Xavier Morel
Tolga wrote: > I am not unfamiliar to programming but a newbie in Python. Could you > recommend me (a) great book(s) to start with? Free online books or > solid books are welcome. > > Thanx in advance. > I'd call Dive Into Python a reference, it's an extremely clear yet pythonic book, and it's a

Re: GREAT VIDEO! >> http://www.tbn.org/films/videos/To_Hell_And_Back.ram << Just click link to view the free video.......... May 22, 2005 7:37:11 pm

2005-05-22 Thread mgayoub
No. -- http://mail.python.org/mailman/listinfo/python-list