Re: datetime formatting output

2014-02-08 Thread Igor Korot
Thank you Chris. On Sat, Feb 8, 2014 at 1:10 AM, Chris Angelico wrote: > On Sat, Feb 8, 2014 at 8:06 PM, Igor Korot wrote: > > P.S.: Maybe its a problem with the datetime module which formats the > > datetime incorrectly? > > No, I'm pretty sure datetime.datetime really is meant to be working

Re: datetime formatting output

2014-02-08 Thread Chris Angelico
On Sat, Feb 8, 2014 at 8:06 PM, Igor Korot wrote: > P.S.: Maybe its a problem with the datetime module which formats the > datetime incorrectly? No, I'm pretty sure datetime.datetime really is meant to be working with microseconds. I'm not very familiar with MySQLdb, haven't used it in years; it

Fwd: datetime formatting output

2014-02-08 Thread Igor Korot
-- Forwarded message -- From: Igor Korot Date: Sat, Feb 8, 2014 at 1:06 AM Subject: Re: datetime formatting output To: Chris Angelico Chris, On Sat, Feb 8, 2014 at 12:45 AM, Chris Angelico wrote: > On Sat, Feb 8, 2014 at 7:40 PM, Igor Korot wrote: > > I am rea

Re: datetime formatting output

2014-02-08 Thread Chris Angelico
On Sat, Feb 8, 2014 at 7:40 PM, Igor Korot wrote: > I am reading data from the DB (mySQL) where the datetime field is stored as: > > 2012-12-12 23:59:59.099 > > When I retrieve this date I am successfully see under debugger the dateteime > object with (2012, 12, 12, 23, 59, 59, 099) > > However as

datetime formatting output

2014-02-08 Thread Igor Korot
Hi, ALL, I am reading data from the DB (mySQL) where the datetime field is stored as: 2012-12-12 23:59:59.099 When I retrieve this date I am successfully see under debugger the dateteime object with (2012, 12, 12, 23, 59, 59, 099) However as you can see from my previous post this date shows up i

Re: Formatting Output

2008-06-03 Thread TheSaint
On 06:15, martedì 03 giugno 2008 Mensanator wrote: > In Access, I create a query with this SQL: But this isn't python itself. I'd like to see a small function to let 'locate' the cursor into a TTY console. Surely it can't scroll. If it is not possible, then ncurses is the way. I don't know if it w

Re: Formatting Output

2008-06-02 Thread Mensanator
On Jun 2, 2:43 pm, Doug Morse <[EMAIL PROTECTED]> wrote: > On Mon, 2 Jun 2008 12:42:12 -0700 (PDT), Mensanator <[EMAIL PROTECTED]> wrote: > >  On Jun 2, 3:38 am, Chris <[EMAIL PROTECTED]> wrote: > > > On Jun 2, 9:34 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > i

Re: Formatting Output

2008-06-02 Thread Chris
On Jun 2, 11:34 pm, Chris <[EMAIL PROTECTED]> wrote: > On Jun 2, 9:43 pm, Doug Morse <[EMAIL PROTECTED]> wrote: > > > > > On Mon, 2 Jun 2008 12:42:12 -0700 (PDT), Mensanator <[EMAIL PROTECTED]> > > wrote: > > >  On Jun 2, 3:38 am, Chris <[EMAIL PROTECTED]> wrote: > > > > On Jun 2, 9:34 am, "[EMAIL

Re: Formatting Output

2008-06-02 Thread Chris
On Jun 2, 9:43 pm, Doug Morse <[EMAIL PROTECTED]> wrote: > On Mon, 2 Jun 2008 12:42:12 -0700 (PDT), Mensanator <[EMAIL PROTECTED]> wrote: > >  On Jun 2, 3:38 am, Chris <[EMAIL PROTECTED]> wrote: > > > On Jun 2, 9:34 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > i

Re: Formatting Output

2008-06-02 Thread Doug Morse
On Mon, 2 Jun 2008 12:42:12 -0700 (PDT), Mensanator <[EMAIL PROTECTED]> wrote: > On Jun 2, 3:38 am, Chris <[EMAIL PROTECTED]> wrote: > > On Jun 2, 9:34 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > i am building a little script and i want to output a series of colu

Re: Formatting Output

2008-06-02 Thread Mensanator
On Jun 2, 3:38 am, Chris <[EMAIL PROTECTED]> wrote: > On Jun 2, 9:34 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Hi, > > > i am building a little script and i want to output a series of columns > > more or less like this: > > > 1  5  6 > > 2  2  8 > > 2  9  5 > > > The matter is that

Re: Formatting Output

2008-06-02 Thread Chris
On Jun 2, 9:34 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > i am building a little script and i want to output a series of columns > more or less like this: > > 1  5  6 > 2  2  8 > 2  9  5 > > The matter is that i don't know in advance how many columns there will > be. By the way, e

Re: Formatting Output

2008-06-02 Thread Marc 'BlackJack' Rintsch
On Mon, 02 Jun 2008 00:34:09 -0700, [EMAIL PROTECTED] wrote: > i am building a little script and i want to output a series of columns > more or less like this: > > 1 5 6 > 2 2 8 > 2 9 5 > > The matter is that i don't know in advance how many columns there will > be. By the way, each column

Formatting Output

2008-06-02 Thread [EMAIL PROTECTED]
Hi, i am building a little script and i want to output a series of columns more or less like this: 1 5 6 2 2 8 2 9 5 The matter is that i don't know in advance how many columns there will be. By the way, each column will be actually FLOATs, not INTs. How can i do this ? Any help welcome. R