Changes between Version 27 and Version 28 of PyCon2007/20070224


Ignore:
Timestamp:
02/24/07 21:27:29 (13 years ago)
Author:
sgk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PyCon2007/20070224

    v27 v28  
    55カンファレンス2日目。 
    66 
     7== Dateutil to the Rescue! == 
     8 
     915:15~。 
     10 
     11{{{ 
     12>>> from datatime import datetime 
     13>>> from dateutil.parser import parse 
     14>>> parse('02/24/2007') 
     15}}} 
     16 
     17 * Time delta 
     18 
     19{{{ 
     20>>> now = datetime(2007, 2, 24) 
     21>>> now + relativedelta(months=2) 
     22}}} 
     23 
     24 * Timezone 
     25   * Use dateutil.zoneinfo module for direct access to compiled time zone information 
     26{{{ 
     27>>> from dateutil import zoneinfo 
     28>>> zone = zoneinfo.gettz('US/Central') 
     29}}} 
     30   * Use dateutil.tz for more abstract time zone activity 
     31 * Simple recurrence 
     32 
     33 
    734== Distributing your project with Python Eggs == 
    835 
    93614:46~。 
    10  
    11  
    1237 
    1338== Using Python Eggs ==