Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61321

Re: Eliminate "extra" variable

Date 2013-12-08 13:23 -0600
From Tim Chase <python.list@tim.thechases.com>
Subject Re: Eliminate "extra" variable
References (3 earlier) <CA+FnnTzBYp5Fvy1ohCySLitbL21+hHdfur9=oF4TM+Skeu-XJw@mail.gmail.com> <CA+FnnTzkHYNN_rgLaaXwvod9qGhetXRy+3v96+5+wEyhCq0LwA@mail.gmail.com> <CA+FnnTwZ3aF++ZzaAJzG0Y98usfLTge0KTzj14LfqDgh1OnsZQ@mail.gmail.com> <20131208125823.241112db@bigbox.christie.dr> <l82g7t$1o1$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.3741.1386530532.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 2013-12-08 19:10, Mark Lawrence wrote:
> On 08/12/2013 18:58, Tim Chase wrote:
> > On 2013-12-07 23:14, Igor Korot wrote:  
> 
> [big snip]
> 
> Whenever I need date manipulations I always reach out to this 
> http://labix.org/python-dateutil

But based on the OP's repeated transformations from date-to-string
and back again, what do you reach for when you want to transform
things *needlessly*?  I recommend the delete key and some healthy
refactoring.  :-)

-tkc




Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Eliminate "extra" variable Tim Chase <python.list@tim.thechases.com> - 2013-12-08 13:23 -0600

csiph-web