aboutsummaryrefslogtreecommitdiffstats
path: root/lang/py3-pyme/examples
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2015-05-16 19:14:47 +0000
committerBen McGinnes <[email protected]>2015-05-16 19:14:47 +0000
commit29887c9b28c0db14bf75e227a8082d23a2c151d2 (patch)
tree7228cde3b8dbd2e4164a996269b816a69d53016f /lang/py3-pyme/examples
parentByte encoding (diff)
downloadgpgme-29887c9b28c0db14bf75e227a8082d23a2c151d2.tar.gz
gpgme-29887c9b28c0db14bf75e227a8082d23a2c151d2.zip
Explaining why not all scripts work
* Some of them cannot be properly tested on OS X, especially with GTK in the mix (it works on OS X, but is unlikely to be as easily accessible as Cocoa or Qt). * Most major functions are showcased and do work, albeit sometimes with false positives of error messages, at least on OS X.
Diffstat (limited to '')
-rw-r--r--lang/py3-pyme/examples/Examples.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/py3-pyme/examples/Examples.rst b/lang/py3-pyme/examples/Examples.rst
new file mode 100644
index 00000000..18b03b27
--- /dev/null
+++ b/lang/py3-pyme/examples/Examples.rst
@@ -0,0 +1,7 @@
+===============
+Example Scripts
+===============
+
+Most of the examples have been converted to work with Python 3, just as the original versions worked with Python 2. A small number produce errors on OS X, but may behave differently on other POSIX systems. The GTK based scripts (PyGtkGpgKeys.py and pygpa.py) have not been modified at all.
+
+When using or referring to the example scripts here, the most common change has been the byte encoded strings, so if something does not work then chances are that it will be related to the encoding or decoding of UTF-8.