[sage-devel] Re: Proposal to enhance date / time features

2009-03-02 Thread Jason Grout
Phaedon Sinis wrote: > After this, I'll stop prefacing all my questions with apologies for > being a beginner. > > import matplotlib.dateutil works fine within sage > but dateutil seems to be empty. dir(dateutil) doesn't contain > anything -- and I am looking specificalliy for relativedelta. Wha

[sage-devel] Re: Proposal to enhance date / time features

2009-03-01 Thread Phaedon Sinis
After this, I'll stop prefacing all my questions with apologies for being a beginner. import matplotlib.dateutil works fine within sage but dateutil seems to be empty. dir(dateutil) doesn't contain anything -- and I am looking specificalliy for relativedelta. What am I doing wrong? On Feb 11,

[sage-devel] Re: Proposal to enhance date / time features

2009-02-19 Thread Timothy Clemans
On Thu, Feb 19, 2009 at 1:59 PM, kcrisman wrote: > > >> >> sage: !cal 9r 1752r >> September 1752 >> Su Mo Tu We Th Fr Sa >> 1 2 14 15 16 >> 17 18 19 20 21 22 23 >> 24 25 26 27 28 29 30 > > Wow, that's amazing. What about in Russia or Italy, though? > > As a non-joke, this isn't ?-ab

[sage-devel] Re: Proposal to enhance date / time features

2009-02-19 Thread kcrisman
> > sage: !cal 9r 1752r >     September 1752 > Su Mo Tu We Th Fr Sa >         1  2 14 15 16 > 17 18 19 20 21 22 23 > 24 25 26 27 28 29 30 Wow, that's amazing. What about in Russia or Italy, though? As a non-joke, this isn't ?-able, though. How would someone find this by looking under ca[tab]?

[sage-devel] Re: Proposal to enhance date / time features

2009-02-19 Thread Jason Grout
John Cremona wrote: > I hope we will fully support this kind of thing: > > %cal 9 1752 >September 1752 > Su Mo Tu We Th Fr Sa >1 2 14 15 16 > 17 18 19 20 21 22 23 > 24 25 26 27 28 29 30 > > Well, someone asked for jokes! Already done :) sage: !cal 9r 1752r September 1752 Su Mo

[sage-devel] Re: Proposal to enhance date / time features

2009-02-19 Thread John Cremona
I hope we will fully support this kind of thing: %cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Well, someone asked for jokes! John On 12 Feb, 08:50, ghtdak wrote: > On Feb 11, 3:47 pm, mabshoff wrote: > > > On Feb 11, 3:40 p

[sage-devel] Re: Proposal to enhance date / time features

2009-02-12 Thread mabshoff
On Feb 12, 12:50 am, ghtdak wrote: > On Feb 11, 3:47 pm, mabshoff wrote: Hi Glenn, > The matplotlib.dates module "appears" to be Gustavo's complete > dateutil library > > http://labix.org/python-dateutil > > My guess it does everything the typical user (e.g. myself) would > need.  Being part

[sage-devel] Re: Proposal to enhance date / time features

2009-02-12 Thread ghtdak
On Feb 11, 3:47 pm, mabshoff wrote: > On Feb 11, 3:40 pm, Phaedon Sinis wrote: > > > Hi Glenn, > > > thanks for looking into this. > > At first glance, it looks like it basically allows date arithmetic. > > I was planning to incorporate Gustavo Niemeyer's relativedelta.py for this > > purpose.

[sage-devel] Re: Proposal to enhance date / time features

2009-02-11 Thread boothby
> Questions? Comments? Jokes? sage: current_time() Time to buy a watch! --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more option

[sage-devel] Re: Proposal to enhance date / time features

2009-02-11 Thread mabshoff
On Feb 11, 3:40 pm, Phaedon Sinis wrote: > Hi Glenn, > > thanks for looking into this. > At first glance, it looks like it basically allows date arithmetic. > I was planning to incorporate Gustavo Niemeyer's relativedelta.py for this > purpose. > My date library adds business-day / holiday calc

[sage-devel] Re: Proposal to enhance date / time features

2009-02-11 Thread Phaedon Sinis
Hi Glenn, thanks for looking into this. At first glance, it looks like it basically allows date arithmetic. I was planning to incorporate Gustavo Niemeyer's relativedelta.py for this purpose. My date library adds business-day / holiday calculations. Does anyone have a strong preference between re

[sage-devel] Re: Proposal to enhance date / time features

2009-02-11 Thread William Stein
On Wed, Feb 11, 2009 at 1:23 PM, ghtdak wrote: > > Python pretty much punted on date and time. It has some support, but > its not very good. > > The Python Quick Reference: http://rgruet.free.fr/PQR25/PQR2.5.html > > suggests mxDateTime: http://www.egenix.com/products/python/mxBase/mxDateTime/ >

[sage-devel] Re: Proposal to enhance date / time features

2009-02-11 Thread mabshoff
On Feb 11, 1:23 pm, ghtdak wrote: Hi Glenn, > Python pretty much punted on date and time.  It has some support, but > its not very good. > > The Python Quick Reference:http://rgruet.free.fr/PQR25/PQR2.5.html > > suggests mxDateTime:http://www.egenix.com/products/python/mxBase/mxDateTime/ Cou