2010-12-24から1日間の記事一覧
import cgi f = cgi.FieldStorage() txt = f.getfirst('text', '') print txt これでGAEを起動して http://localhost:8080/?text=hoge とすると、ブラウザ上に hoge が表示される。 これでURLから値が受け取れる。
import cgi f = cgi.FieldStorage() txt = f.getfirst('text', '') print txt これでGAEを起動して http://localhost:8080/?text=hoge とすると、ブラウザ上に hoge が表示される。 これでURLから値が受け取れる。