Skip to content

Instantly share code, notes, and snippets.

@shifei010
Created October 7, 2012 03:21
Show Gist options
  • Save shifei010/3846990 to your computer and use it in GitHub Desktop.
Save shifei010/3846990 to your computer and use it in GitHub Desktop.
使用 HTML & Javascript 来建立 Python 本地应用程序的图形用户界面
http://eishn.blog.163.com/blog/static/652318200693111385057/
<form action="HAHA://example.test" method="get">
<input type="hidden" value="hello">
<input type="hidden" value="world">
<input type="submit">
</form>
<a href="HAHA://example.test?a=hello&b=world">submit</a>
# example.py
import string
def test(**kw):
print string.join([kw["a"], kw["b"], "!"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment