diff options
Diffstat (limited to 'pypers/twill/test_qdemo.txt')
-rwxr-xr-x | pypers/twill/test_qdemo.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pypers/twill/test_qdemo.txt b/pypers/twill/test_qdemo.txt new file mode 100755 index 0000000..7e0df2e --- /dev/null +++ b/pypers/twill/test_qdemo.txt @@ -0,0 +1,9 @@ +>>> from urllib import urlopen +>>> PAGE = "http://localhost:8080/extras/form" +>>> page = urlopen(PAGE, "name=michele&password=SECRET") + +>>> print page.read() + +>>> page = urlopen("http://issola.caltech.edu/~t/qwsgi/qwsgi-demo.cgi/widgets", +... "name=michele&password=SECRET&time=50") +>>> print page.read() |