aboutsummaryrefslogtreecommitdiffstats
path: root/wlp/README.notes
diff options
context:
space:
mode:
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'}}