2011-09-18 83 views

回答

6

strptime()strftime()所做的相反。

>>> datetime.datetime.strptime("February", "%B").month 
2 
相关问题