摘要:
在GAE下,用webapp框架,希望通过weibopy这个weibo的python SDK进行oauth认证。贴上代码#coding=utf-8import osfrom google.appengine.ext import webappfrom google.appengine.ext.webapp.util import run_wsgi_appfrom google.appengine.ext.webapp import templatefrom weibopy.auth import OAuthHandlerfrom weibopy.api import APIfrom gaeses 阅读全文
posted @ 2011-07-27 10:42
kebo
阅读(520)
评论(0)
推荐(0)
摘要:
一、配置python1.当前的GAE还只支持python2.5,一个变通的方法是修改google_appengine下的dev_appengine.py文件,将开头的#!/usr/bin/env python 改为#!/usr/bin/env python2.62.如果要安装python2.5,则需注意直接在11.04下编译python2.5会出错,详细可参考Building Python2.5 for Ubuntu 11.04 ,说明一下,1)安装需要的包apt-get install libssl-dev libsqlite3-dev2)修改python2.5源码包中Modules/Set 阅读全文
posted @ 2011-07-27 10:22
kebo
阅读(641)
评论(0)
推荐(0)

浙公网安备 33010602011771号