Recommendations (or best practices) to define functions (or methods)

2007-01-07 Thread vizcayno
Hello: Need your help in the "correct" definition of the next function. If necessary, I would like to know about a web site or documentation that tells me about best practices in defining functions, especially for those that consider the error exceptions management. I have the next alternatives but

Re: Recommendations (or best practices) to define functions (or methods)

2007-01-08 Thread vizcayno
Martin v. Löwis ha escrito: > vizcayno schrieb: > > Need your help in the "correct" definition of the next function. If > > necessary, I would like to know about a web site or documentation that > > tells me about best practices in defining functions, especially

Re: Recommendations (or best practices) to define functions (or methods)

2007-01-08 Thread vizcayno
Diez B. Roggisch ha escrito: > vizcayno schrieb: > > Hello: > > Need your help in the "correct" definition of the next function. If > > necessary, I would like to know about a web site or documentation that > > tells me about best practices in defining fun

Re: Recommendations (or best practices) to define functions (or methods)

2007-01-08 Thread vizcayno
Diez B. Roggisch ha escrito: > vizcayno schrieb: > > Hello: > > Need your help in the "correct" definition of the next function. If > > necessary, I would like to know about a web site or documentation that > > tells me about best practices in defining fun

Re: Recommendations (or best practices) to define functions (or methods)

2007-01-08 Thread vizcayno
Thank you for your guidelines and for changing my mind. I am trying to do my best in generating good code and, in that attempt ... I only know that nothing know. Regards. -- http://mail.python.org/mailman/listinfo/python-list

Need guidelines to show results of a process

2009-03-19 Thread Vizcayno
Hi: I wrote a Python program which, during execution, shows me messages on console indicating at every moment the time and steps being performed so I can have a 'log online' and guess remaining time for termination, I used many 'print' instructions to show those messages, i.e. print "I am in step