On Saturday, April 18, 2015 at 5:29:23 PM UTC-3, Peter Otten wrote:
> santiago.basu...@gmail.com wrote:
>
> > Hello everybody. I'm writing a CLI program to do some search. It's an
> > internal tool. I'd like to provide the option to my user to format the
> > results as he/she'd like. Something sim
santiago.basu...@gmail.com wrote:
> Hello everybody. I'm writing a CLI program to do some search. It's an
> internal tool. I'd like to provide the option to my user to format the
> results as he/she'd like. Something similar to strftime on the datetime
> module.
>
> Example:
>
> from datetim
Hello everybody. I'm writing a CLI program to do some search. It's an internal
tool. I'd like to provide the option to my user to format the results as
he/she'd like. Something similar to strftime on the datetime module.
Example:
from datetime import datetime
d = datetime.utcnow()
d