aboutsummaryrefslogtreecommitdiffstats
path: root/wlp/README.notes
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2014-12-15 11:29:38 +0100
committerMatěj Cepl <mcepl@cepl.eu>2014-12-15 11:36:35 +0100
commite3ab39bf39d0ba75f6eb504752ef0ffb4bf4a3b1 (patch)
treea82d339953922d01c5a27dfa00ff811cc2723ab8 /wlp/README.notes
parentc1098b321415976df7b6fc77117046b3b515885d (diff)
downloadpyg-e3ab39bf39d0ba75f6eb504752ef0ffb4bf4a3b1.tar.gz
I am able to build the extension with setup.py
Diffstat (limited to 'wlp/README.notes')
-rw-r--r--wlp/README.notes16
1 files changed, 16 insertions, 0 deletions
diff --git a/wlp/README.notes b/wlp/README.notes
new file mode 100644
index 0000000..d522092
--- /dev/null
+++ b/wlp/README.notes
@@ -0,0 +1,16 @@
+wlp module from
+
+import wlp
+wlf = open('/home/matej/projekty/pyg/examples/whitelist.example')
+f = wlp.setfilebyfd(wlf)
+# or wlp.setfilebyname('/home/matej/projekty/pyg/examples/whitelist.example')
+wlp.mkdict()
+
+In [9]: wlp.mkdict()
+Out[9]:
+{'alfarano@students.cs.unibo.it': {'From:': 'Cosimo Alfarano',
+ 'X-Firstname:': 'Cosimo'},
+ 'kame@innocent.com': {'From:': 'kame@inwind.it',
+ 'Reply-to': 'me',
+ 'Reply-to:': 'KA',
+ 'Sender:': 'Kalfa'}}