diff options
-rwxr-xr-x | examples/pathoc.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/pathoc.py b/examples/pathoc.py new file mode 100755 index 00000000..4c3fae52 --- /dev/null +++ b/examples/pathoc.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python +from libpathod import pathoc + +p = pathoc.Pathoc("google.com", 80) +p.connect() +print p.request("get:/") |