Re: datetime issue

2012-11-02 Thread rurpy
On 11/02/2012 03:57 AM, Jamie Paul Griffin wrote: > / ru...@yahoo.com wrote on Thu 1.Nov'12 at 15:00:48 -0700 / >> [...list of Thunderbird problems...] > > With a list of problems like that maybe the time spent on learning > how to use a Usenet client or mua that is properly written would be > wor

Re: datetime issue

2012-11-02 Thread Jamie Paul Griffin
/ ru...@yahoo.com wrote on Thu 1.Nov'12 at 15:00:48 -0700 / > > * In Search dialog clicked on the Search in folder dropdown after > an earlier search and TB crashed (disappeared along with the > new message I was editing.) [3.0.1] > > * Search for japanese text in body no longer works (

Re: datetime issue

2012-11-01 Thread rurpy
On 11/01/2012 06:09 AM, Grant Edwards wrote:> On 2012-10-31, ru...@yahoo.com wrote: >> On 10/31/2012 09:11 AM, Grant Edwards wrote:> On 2012-09-16, ?? >> wrote: >>> Iam positng via google groups using chrome, thats all i know. >>> >>> Learn something else. Google Groups is

Re: datetime issue

2012-11-01 Thread rurpy
On Wednesday, October 31, 2012 3:38:57 PM UTC-6, Mark Lawrence wrote: > On 31/10/2012 19:35, ru...@yahoo.com wrote: >> "Broken"? Yes. But so is every piece of software in one way >> or another. Thunderbird is one of the most perpetually buggy >> pierces of software I have ever used on a continui

Re: datetime issue

2012-11-01 Thread Grant Edwards
On 2012-10-31, ru...@yahoo.com wrote: > On 10/31/2012 09:11 AM, Grant Edwards wrote:> On 2012-09-16, ?? > wrote: >> >>> Iam positng via google groups using chrome, thats all i know. >> >> Learn something else. Google Groups is seriously and permanently >> broken, and all posts fr

Re: datetime issue

2012-10-31 Thread Mark Lawrence
On 01/11/2012 00:23, Robert Miles wrote: On 10/31/2012 4:38 PM, Mark Lawrence wrote: On 31/10/2012 19:35, ru...@yahoo.com wrote: On 10/31/2012 09:11 AM, Grant Edwards wrote:> On 2012-09-16, ?? wrote:. "Broken"? Yes. But so is every piece of software in one way or another. Thun

Re: datetime issue

2012-10-31 Thread Robert Miles
On 10/31/2012 4:38 PM, Mark Lawrence wrote: On 31/10/2012 19:35, ru...@yahoo.com wrote: On 10/31/2012 09:11 AM, Grant Edwards wrote:> On 2012-09-16, ?? wrote:. "Broken"? Yes. But so is every piece of software in one way or another. Thunderbird is one of the most perpetually bug

Re: datetime issue

2012-10-31 Thread Robert Miles
On 10/31/2012 2:35 PM, ru...@yahoo.com wrote: On 10/31/2012 09:11 AM, Grant Edwards wrote:> On 2012-09-16, ?? wrote: Iam positng via google groups using chrome, thats all i know. Learn something else. Google Groups is seriously and permanently broken, and all posts from Googl

Re: datetime issue

2012-10-31 Thread Mark Lawrence
On 31/10/2012 19:35, ru...@yahoo.com wrote: On 10/31/2012 09:11 AM, Grant Edwards wrote:> On 2012-09-16, ?? wrote:. "Broken"? Yes. But so is every piece of software in one way or another. Thunderbird is one of the most perpetually buggy pierces of software I have ever used on a

Re: datetime issue

2012-10-31 Thread rurpy
On 10/31/2012 09:11 AM, Grant Edwards wrote:> On 2012-09-16, ?? wrote: > >> Iam positng via google groups using chrome, thats all i know. > > Learn something else. Google Groups is seriously and permanently > broken, and all posts from Google Groups are filtered out and ignored >

Re: datetime issue

2012-10-31 Thread Grant Edwards
On 2012-09-16, ?? wrote: > Iam positng via google groups using chrome, thats all i know. Learn something else. Google Groups is seriously and permanently broken, and all posts from Google Groups are filtered out and ignored by many people (including myself -- I only saw this becaus

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-23 Thread Grant Edwards
On 2012-09-22, Hank Gay wrote: > On 2012-09-21 15:07:09 +, Grant Edwards said: >> >> I told my news client years ago to filter out anything posted from >> Google Groups -- and I know I'm not alone. If one wants the best >> chance of getting a question answered, using something other than >>

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-21 Thread Hank Gay
On 2012-09-21 15:07:09 +, Grant Edwards said: I told my news client years ago to filter out anything posted from Google Groups -- and I know I'm not alone. If one wants the best chance of getting a question answered, using something other than Google Groups is indeed a good idea. What's t

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-21 Thread Walter Hurry
On Fri, 21 Sep 2012 15:07:09 +, Grant Edwards wrote: > I told my news client years ago to filter out anything posted from > Google Groups -- and I know I'm not alone. If one wants the best chance > of getting a question answered, using something other than Google Groups > is indeed a good ide

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-21 Thread Grant Edwards
On 2012-09-16, Ben Finney wrote: > writes: > >> Iam sorry i didnt do that on purpose and i dont know how this is done. >> >> Iam positng via google groups using chrome, thats all i know. > > It is becoming quite clear that some change has happened recently to > Googl

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-17 Thread Jamie Paul Griffin
[ Joel Goldstick wrote on Sun 16.Sep'12 at 11:57:56 -0400 ] > email client to python-list@python.org If using Windows I would certainly use Thunderbird or even slrn news reader - I believe there is a version for Windows. Or you could install Interix subsystem which provides UNIX tools for Wind

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-17 Thread Gene Heskett
On Sunday 16 September 2012 12:29:39 pandora.ko...@gmail.com did opine: > > > http://mail.python.org/mailman/listinfo/python-list > > > > email client to python-list@python.org > > wait a minute! i must use my ISP's news server and then post o > comp.lang.python no? No. > What is python-list@p

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread alex23
On Sep 17, 10:55 am, Roy Smith wrote: > They didn't buy the service.  They bought the data.  Well, they really > bought both, but the data is all they wanted. I thought they'd taken most of the historical data offline now too? Either way, it was the sort of purchase-and-whither approach you usua

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Roy Smith
In article <6c732de0-b10f-4d40-853c-f62682970...@rg9g2000pbc.googlegroups.com>, alex23 wrote: > On Sep 16, 11:18 pm, Ben Finney wrote: > > Using Google Groups for posting to Usenet has been a bad idea for a long > > time, but now it just seems to be a sure recipe for annoying the rest of > > u

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread alex23
On Sep 16, 11:18 pm, Ben Finney wrote: > Using Google Groups for posting to Usenet has been a bad idea for a long > time, but now it just seems to be a sure recipe for annoying the rest of > us. Again, not something you have much control over, except to stop > using Google Groups. Agreed. While i

Re: datetime issue

2012-09-16 Thread Dave Angel
On 09/16/2012 07:56 AM, Νικόλαος Κούρας wrote: > Τη Κυριακή, 16 Σεπτεμβρίου 2012 2:34:34 μ.μ. UTC+3, ο χρήστης Steven D'Aprano > έγραψε: >> >> >> No. That's not how mailing lists work. Every email gets posted to all >> members, unless they go onto "No Mail", in which case they get no emails >>

Re: datetime issue

2012-09-16 Thread Mark Lawrence
On 16/09/2012 16:54, Chris Angelico wrote: On Mon, Sep 17, 2012 at 1:40 AM, wrote: Cant it be written more easily as: date = (datetime.datetime.utcnow(+2) i know this is not thhe correct syntax but it just needs a way to add GMT+2 hours since utc=gmt I've dithered about whether to open t

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Steven D'Aprano
On Sun, 16 Sep 2012 08:41:44 -0700, pandora.koura wrote: > If i ditch google groups what application can i use in Windows 8 to post > to this newsgroup and what newsserver too? Google is your friend. Do try to find the answer to your questions before asking here. Search for "usenet news reader

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Steven D'Aprano
On Sun, 16 Sep 2012 09:06:30 -0700, pandora.koura wrote: >> > http://mail.python.org/mailman/listinfo/python-list > What is python-list@python.org how can i post there? It's the same thing it was when I posted the above URL a few hours ago. Didn't you follow the link before? It has instructio

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Gene Heskett
On Sunday 16 September 2012 12:08:47 pandora.ko...@gmail.com did opine: > Whaen i tried to post just now by hitting sumbit, google groups told me > that the following addresssed has benn found in this thread! i guess is > used them all to notify everything! > > cdf072b2-7359-4417-b1e4-d984e4317..

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Joel Goldstick
On Sun, Sep 16, 2012 at 12:06 PM, wrote: > >> >> > http://mail.python.org/mailman/listinfo/python-list >> >> >> >> email client to python-list@python.org >> > > wait a minute! i must use my ISP's news server and then post o > comp.lang.python no? > > What is python-list@python.org how can i post

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread pandora . koura
> > Ah. Did you then send to all three? Just a wild guess, but I'm > > thinking that might be the cause of post duplication... > > > > ChrisA I had no choise, it doesnt let me pick one, it just notifies me that it will posted to these 3. -- http://mail.python.org/mailman/listinfo/python-li

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Joel Goldstick
On Sun, Sep 16, 2012 at 11:41 AM, wrote: > Τη Κυριακή, 16 Σεπτεμβρίου 2012 4:18:50 μ.μ. UTC+3, ο χρήστης Ben Finney > έγραψε: >> Νικόλαος Κούρας writes: >> >> >> >> > Iam sorry i didnt do that on purpose and i dont know how this is done. >> >> > >> >> > Iam positng via google groups using chrom

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread pandora . koura
> > > http://mail.python.org/mailman/listinfo/python-list > > > > email client to python-list@python.org > wait a minute! i must use my ISP's news server and then post o comp.lang.python no? What is python-list@python.org how can i post there? -- http://mail.python.org/mailman/listinfo/py

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Chris Angelico
On Mon, Sep 17, 2012 at 1:44 AM, wrote: > Whaen i tried to post just now by hitting sumbit, google groups told me that > the following addresssed has benn found in this thread! i guess is used them > all to notify everything! > > cdf072b2-7359-4417-b1e4-d984e4317...@googlegroups.com > mailman.7

Re: datetime issue

2012-09-16 Thread Chris Angelico
On Mon, Sep 17, 2012 at 1:40 AM, wrote: > Cant it be written more easily as: > date = (datetime.datetime.utcnow(+2) > > i know this is not thhe correct syntax but it just needs a way to add GMT+2 > hours since utc=gmt I've dithered about whether to open this can of worms or let sleeping dogs l

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread pandora . koura
Whaen i tried to post just now by hitting sumbit, google groups told me that the following addresssed has benn found in this thread! i guess is used them all to notify everything! cdf072b2-7359-4417-b1e4-d984e4317...@googlegroups.com mailman.774.1347735926.27098.python-l...@python.org nikos.gr..

Re: Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread pandora . koura
Τη Κυριακή, 16 Σεπτεμβρίου 2012 4:18:50 μ.μ. UTC+3, ο χρήστης Ben Finney έγραψε: > Νικόλαος Κούρας writes: > > > > > Iam sorry i didnt do that on purpose and i dont know how this is done. > > > > > > Iam positng via google groups using chrome, thats all i know. > > > > It is becoming qui

Re: datetime issue

2012-09-16 Thread pandora . koura
Τη Κυριακή, 16 Σεπτεμβρίου 2012 4:23:02 μ.μ. UTC+3, ο χρήστης Günther Dietrich έγραψε: > In article , > > Νικόλαος Κούρας wrote: > > > > [...] > > > > >also it would be nice if datetime.datetime.now(GMT+2) can be used. > > > > In

Re: datetime issue

2012-09-16 Thread pandora . koura
Τη Κυριακή, 16 Σεπτεμβρίου 2012 6:30:15 μ.μ. UTC+3, ο χρήστης MRAB έγραψε: > On 2012-09-16 09:25, Νικόλαος Κούρας wrote: > > [snip] > > > > > > date = ( datetime.datetime.now() + datetime.timedelta(hours=8) ).strftime( > > '%y-%m-%d %H:%M:%S') > > > > > > but iam giving +8 hours which is the

Re: datetime issue

2012-09-16 Thread MRAB
On 2012-09-16 09:25, Νικόλαος Κούρας wrote: [snip] date = ( datetime.datetime.now() + datetime.timedelta(hours=8) ).strftime( '%y-%m-%d %H:%M:%S') but iam giving +8 hours which is the time difference between texas, us where the server sits and Greece's time. cant we somehow tell it to use GM

Re: datetime issue

2012-09-16 Thread Chris Angelico
On Mon, Sep 17, 2012 at 12:06 AM, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> > Is it September already? >> >> Yes, it is; what does that mean in response to this question? Is there >> something about September that causes the question, or is it a once >> per month[1] question?

Re: datetime issue

2012-09-16 Thread Chris Angelico
On Sun, Sep 16, 2012 at 11:22 PM, Roy Smith wrote: > In article <4f9d9a0b-539a-4b6a-af3e-b02d1f400...@googlegroups.com>, > Νικόλαος Κούρας wrote: >> Iam sorry i didnt do that on purpose and i dont know how this is done. >> >> Iam positng via google groups using chrome, thats all i know. >> >> Wh

Re: datetime issue

2012-09-16 Thread Günther Dietrich
In article , Νικόλαος Κούρας wrote: [...] >also it would be nice if datetime.datetime.now(GMT+2) can be used. In , one of the first answers to your question you were pointed to pytz. This module does exactly what you ask for: >>> imp

Re: datetime issue

2012-09-16 Thread Roy Smith
In article <4f9d9a0b-539a-4b6a-af3e-b02d1f400...@googlegroups.com>, Íéêüëáïò Êïýñáò wrote: > Iam sorry i didnt do that on purpose and i dont know how this is done. > > Iam positng via google groups using chrome, thats all i know. > > Whats a mailing list? Is it September already? -- http://

Obnoxious postings from Google Groups (was: datetime issue)

2012-09-16 Thread Ben Finney
Νικόλαος Κούρας writes: > Iam sorry i didnt do that on purpose and i dont know how this is done. > > Iam positng via google groups using chrome, thats all i know. It is becoming quite clear that some change has happened recently to Google Groups that makes posts coming from there rather more obn

Re: datetime issue

2012-09-16 Thread Νικόλαος Κούρας
Τη Κυριακή, 16 Σεπτεμβρίου 2012 2:34:34 μ.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: > On Sun, 16 Sep 2012 03:54:45 -0700, Νικόλαος Κούρας wrote: > > > > > Τη Κυριακή, 16 Σεπτεμβρίου 2012 1:49:38 μ.μ. UTC+3, ο χρήστης Steven > > > D'Aprano έγραψε: > > >> On Sun, 16 Sep 2012 03:15:11 -0700, Ν

Re: datetime issue

2012-09-16 Thread Steven D'Aprano
On Sun, 16 Sep 2012 03:54:45 -0700, Νικόλαος Κούρας wrote: > Τη Κυριακή, 16 Σεπτεμβρίου 2012 1:49:38 μ.μ. UTC+3, ο χρήστης Steven > D'Aprano έγραψε: >> On Sun, 16 Sep 2012 03:15:11 -0700, Νικόλαος Κούρας wrote: >> >> >> >> > Whats a mailing list? >> >> > Can i get responses to my mail instead

Re: datetime issue

2012-09-16 Thread Νικόλαος Κούρας
Τη Κυριακή, 16 Σεπτεμβρίου 2012 1:49:38 μ.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: > On Sun, 16 Sep 2012 03:15:11 -0700, Νικόλαος Κούρας wrote: > > > > > Whats a mailing list? > > > Can i get responses to my mail instead of constantly check the google > > > groups site? > > > > http://m

Re: datetime issue

2012-09-16 Thread Steven D'Aprano
On Sun, 16 Sep 2012 03:15:11 -0700, Νικόλαος Κούρας wrote: > Whats a mailing list? > Can i get responses to my mail instead of constantly check the google > groups site? http://mail.python.org/mailman/listinfo/python-list -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: datetime issue

2012-09-16 Thread Νικόλαος Κούρας
Τη Κυριακή, 16 Σεπτεμβρίου 2012 12:53:42 μ.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: > On Sun, 16 Sep 2012 01:25:30 -0700, Νικόλαος Κούρας wrote: > > [...] > > > > You seem to be emailing python-list AND posting to comp.lang.python (or > > the gmane mirror). Please pick one, or the other,

Re: datetime issue

2012-09-16 Thread Steven D'Aprano
On Sun, 16 Sep 2012 01:25:30 -0700, Νικόλαος Κούρας wrote: [...] You seem to be emailing python-list AND posting to comp.lang.python (or the gmane mirror). Please pick one, or the other, and not both, because the mailing list and the newsgroup are mirrors of each other. Anything you send to the

Re: datetime issue

2012-09-16 Thread Νικόλαος Κούρας
Τη Κυριακή, 16 Σεπτεμβρίου 2012 8:53:57 π.μ. UTC+3, ο χρήστης Dennis Lee Bieber έγραψε: > On Sat, 15 Sep 2012 22:15:38 -0700 (PDT), Íéêüëáïò Êïýñáò > > declaimed the following in > > gmane.comp.python.general: > > > > > > > > > > If i wanted to alter the following line, how would i write

Re: datetime issue

2012-09-16 Thread Νικόλαος Κούρας
Τη Κυριακή, 16 Σεπτεμβρίου 2012 10:51:18 π.μ. UTC+3, ο χρήστης Νικόλαος Κούρας έγραψε: > dn = datetime.datetime.now() > > dd = datetime.timedelta(hours=2) > > date = dn + dd > > date = date.strftime( '%y-%m-%d %H:%M:%S' ) > > > > still giving me texas,us time for some reason which is same a

Re: datetime issue

2012-09-16 Thread Νικόλαος Κούρας
dn = datetime.datetime.now() dd = datetime.timedelta(hours=2) date = dn + dd date = date.strftime( '%y-%m-%d %H:%M:%S' ) still giving me texas,us time for some reason -- http://mail.python.org/mailman/listinfo/python-list

Re: datetime issue

2012-09-15 Thread Νικόλαος Κούρας
Τη Σάββατο, 15 Σεπτεμβρίου 2012 11:28:47 μ.μ. UTC+3, ο χρήστης MRAB έγραψε: > On 2012-09-15 20:26, οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½ οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½ wrote: > > > οΏ½οΏ½ οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½, 15 οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½ 2012 > > 10:05:49 οΏ½.οΏ½. UTC+3, οΏ½ οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½ Chris Rebert

Re: datetime issue

2012-09-15 Thread MRAB
On 2012-09-15 20:26, Νικόλαος Κούρας wrote: Τη Σάββατο, 15 Σεπτεμβρίου 2012 10:05:49 μ.μ. UTC+3, ο χρήστης Chris Rebert έγραψε: On Sat, Sep 15, 2012 at 10:33 AM, Νικόλαος Κούρας wrote: > Hello again, > > one small matter too. > # get some enviromental values > locale.setlocale(locale.LC_ALL,

Re: datetime issue

2012-09-15 Thread Νικόλαος Κούρας
Τη Σάββατο, 15 Σεπτεμβρίου 2012 10:05:49 μ.μ. UTC+3, ο χρήστης Chris Rebert έγραψε: > On Sat, Sep 15, 2012 at 10:33 AM, Νικόλαος Κούρας > wrote: > > > Hello again, > > > > > > one small matter too. > > > > > # get some enviromental values > > > locale.setlocale(locale.LC_ALL, 'el_GR') >

Re: datetime issue

2012-09-15 Thread Chris Rebert
On Sat, Sep 15, 2012 at 10:33 AM, Νικόλαος Κούρας wrote: > Hello again, > > one small matter too. > > # get some enviromental values > locale.setlocale(locale.LC_ALL, 'el_GR') > date = datetime.datetime.now().strftime( '%y-%m-%d %H:%M:%S' ) > > although iam setting greek as locale Locales don't

Re: datetime issue

2012-09-15 Thread Jason Friedman
> # get some enviromental values > locale.setlocale(locale.LC_ALL, 'el_GR') > date = datetime.datetime.now().strftime( '%y-%m-%d %H:%M:%S' ) > > although iam setting greek as locale the time is 8 hours before, like in > texas, us > How can i change this to save the correct Greek time in variable

datetime issue

2012-09-15 Thread Νικόλαος Κούρας
Hello again, one small matter too. # get some enviromental values locale.setlocale(locale.LC_ALL, 'el_GR') .. .. date = datetime.datetime.now().strftime( '%y-%m-%d %H:%M:%S' ) although iam setting greek as locale the time is 8 hours before, like in texas, us How can i change