On 24/01/15 01:50, Cameron Simpson wrote:
On 24Jan2015 00:47, Alan Gauld wrote:
But why a property rather than a simple method?
Because it is a value that feels like an attribute.
OK, Having seen Dannys reply as well as yours I guess I see the logic.
I think Python's openness has lead to
On 24Jan2015 09:16, Alan Gauld wrote:
On 24/01/15 01:50, Cameron Simpson wrote:
On 24Jan2015 00:47, Alan Gauld wrote:
But why a property rather than a simple method?
Because it is a value that feels like an attribute.
OK, Having seen Dannys reply as well as yours I guess I see the logi
On Fri, Jan 23, 2015 at 12:10:38AM -0600, boB Stepp wrote:
> On Thu, Jan 22, 2015 at 5:45 PM, Steven D'Aprano wrote:
> > On Thu, Jan 22, 2015 at 03:17:58PM -0600, boB Stepp hid the following
> > question in the subject line:
> >
> > "Does the Python way of doing things have a definite preference f
On 24/01/2015 01:50, Cameron Simpson wrote:
My intuition is that a function is costly (potentially) and that
consulting an attribute is very cheap. I don't want to break such
intuition.
It's not just your intuition, it's a fact. Function calls are costly,
relative to attribute lookup that
On Thu, Jan 22, 2015 at 07:09:24PM -0800, dw wrote:
> I have a python script that I've created.
> It logs into an online email service and sends out an email.
> It works in my Linux box, and it works in my Windows 7 box.
> I've also converted it with Py2EXE and it works as an executable in my
> Win
On 24Jan2015 15:03, Mark Lawrence wrote:
On 24/01/2015 01:50, Cameron Simpson wrote:
My intuition is that a function is costly (potentially) and that
consulting an attribute is very cheap. I don't want to break such
intuition.
It's not just your intuition, it's a fact. Function calls are co
I apologize I should have known better than to have posted without
getting more info from the user.
Since then, I've discovered that simply sending someone a Py2ExE
executable is not sufficient.
A little more investigation about Py2EXE and I'm beginning to see it
requires both the executable f