matter you
can call the method in way
Regards,
Shambhu
-Original Message-
From: Colin Higwell [mailto:colinh@somewhere.invalid]
Sent: 30/11/2011 1:37 AM
To: python-list@python.org
Subject: Total newbie question: Best practice
Hi,
I am just starting to learn Python (I have been at it
Regards,
Shambhu
-Original Message-
From: Colin Higwell [mailto:colinh@somewhere.invalid]
Sent: 30/11/2011 1:37 AM
To: python-list@python.org
Subject: Total newbie question: Best practice
Hi,
I am just starting to learn Python (I have been at it only a few hours),
so please bear with
On Tue, 29 Nov 2011 16:57:18 -0500, Dave Angel wrote:
> On 11/29/2011 03:06 PM, Colin Higwell wrote:
>> Hi,
>>
>> I am just starting to learn Python (I have been at it only a few
>> hours), so please bear with me. I have a few very small scripts (do you
>> call them scripts or programs?) which wor
On 11/29/2011 03:06 PM, Colin Higwell wrote:
Hi,
I am just starting to learn Python (I have been at it only a few hours),
so please bear with me. I have a few very small scripts (do you call them
scripts or programs?) which work properly, and produce the results
intended.
However, they are mono
On 2011-11-29, Arnaud Delobelle wrote:
> As for the main() function, I don't think it is standard
> practice in Python. There is no requirement to have a main()
> function. You can use the idiom:
I don't start off with a main function, but if my script gets
long and complicated, or if global na
On Wed, Nov 30, 2011 at 7:06 AM, Colin Higwell wrote:
> However, they are monolithic in nature; i.e. they begin at the beginning
> and finish at the end. Having done a little reading, I note that it seems
> to be quite common to have a function main() at the start (which in turn
> calls other func
On 29 November 2011 20:06, Colin Higwell wrote:
> Hi,
Hi Colin, and welcome to Python :)
> I am just starting to learn Python (I have been at it only a few hours),
> so please bear with me. I have a few very small scripts (do you call them
> scripts or programs?) which work properly, and produce
Hi,
I am just starting to learn Python (I have been at it only a few hours),
so please bear with me. I have a few very small scripts (do you call them
scripts or programs?) which work properly, and produce the results
intended.
However, they are monolithic in nature; i.e. they begin at the beg