I am no where near 1000 files.

Adam Tistler
1(732)718-2631
atist...@gmail.com



On Mar 6, 2009, at 1:59 AM, Tim Hoffman wrote:

>
> HI
>
> The main thing to watch is the number of files in the fill pytz
> distribution,
> if you software stack also has a lot fo files you find youself over
> the 1000 file limit
>
> T
>
> On Mar 6, 9:17 am, Stephen Judd <judd.step...@gmail.com> wrote:
>> I downloaded it and import it for Mashical.com without a problem.  It
>> probably adds some overhead at startup, but it's an invaluable  
>> utility if
>> your dealing with multiple timezones.
>>
>> Steve
>>
>> On Thu, Mar 5, 2009 at 6:34 PM, Tim Hoffman <zutes...@gmail.com>  
>> wrote:
>>
>>> Hi
>>
>>> You can't probably can't  just download and include it with your
>>> project as it has too many files in the module.
>>
>>> Have a look at this.
>>> http://takashi-matsuo.blogspot.com/2008/07/using-zipped-pytz-on-gae.html
>>
>>> Rgds
>>
>>> T
>>
>>> On Mar 6, 6:29 am, andrew <andrew.r...@gmail.com> wrote:
>>>> Any idea on how to include it with appengine?
>>
>>>> On Mar 5, 3:59 am, Tim Hoffman <zutes...@gmail.com> wrote:
>>
>>>>> pytz isn't included with python or gae, you will need to get the
>>>>> package from pypi
>>
>>>>> T
>>
>>>>> On Mar 5, 10:34 am, andrew <andrew.r...@gmail.com> wrote:
>>
>>>>>> I was able to convert the datetime timezone from the datastore  
>>>>>> to EST
>>>>>> by following thehttp://timezones.appspot.com/
>>
>>>>>> for example:
>>>>>>                         event.date =
>>> event.date.replace(tzinfo=TZINFOS
>>>>>> ['utc'])
>>>>>>                         event.date =  
>>>>>> event.date.astimezone(TZINFOS
>>>>>> ['est'])
>>
>>>>>> This works great, however I noticed that EST is hardcoded to  
>>>>>> UTC-5:
>>
>>>>>> def utcoffset(self, dt): return datetime.timedelta(hours=-5)
>>
>>>>>> So when spring rolls around and we are in daylight savings, I'm  
>>>>>> going
>>>>>> to have to update the code to UTC-4, or my time will be off by an
>>>>>> hour.
>>
>>>>>> It seems that pytz would solve this problem but I couldn't  
>>>>>> figure out
>>>>>> how to import it into my application.  I tried
>>
>>>>>> import pytz
>>
>>>>>> but got "error <type 'exceptions.ImportError'>: No module named  
>>>>>> pytz"
>>
>>>>>> Any suggestions?  Thanks
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to