05 2013 档案

摘要:最近在用wxpyhon google 联系人应用, 不能避免的遇到了使用oauth 验证的问题。首先贴一下关于 OAuth 2.0 的官方文档 https://developers.google.com/accounts/docs/OAuth2然后再贴一下 中文文档 http://blog.csdn.net/totogogo/article/details/6860966Google提供下列4种方式的OAuth 2.0:TheClient-side Applications flow for JavaScript applications running in a browser该flow适用 阅读全文
posted @ 2013-05-09 11:09 cacique 阅读(1104) 评论(0) 推荐(0)
摘要:select to_char(date_published, 'yyyymm') yo from blog group by yo;转换成sqlalchemy 语句可以使用 extract()In[3]: year_field = db.func.extract('year', ArticleModel.date_published)In[4]: month_field = db.func.extract('month', ArticleModel.date_published)In[5]: yonth_field = year_field *1 阅读全文
posted @ 2013-05-03 10:01 cacique 阅读(1775) 评论(0) 推荐(0)
摘要:太长时间没写博客了,之前一直忙找实习,写了大量的博客,感觉收获好多,现在实习半年却没耐心写博客。改正一下,接着写博客。先弄毕设,写关于wxpython的。! 阅读全文
posted @ 2013-05-01 13:50 cacique 阅读(152) 评论(9) 推荐(0)

Copyright ©2011 Goodspeed Cheng