summaryrefslogtreecommitdiffstats
path: root/conf/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'conf/test.py')
-rw-r--r--conf/test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/test.py b/conf/test.py
new file mode 100644
index 0000000..0a45a94
--- /dev/null
+++ b/conf/test.py
@@ -0,0 +1,6 @@
+
+a={'a':'1.2','b':'1.1','c':'1.0'}
+b=sorted(a.items(),key=lambda i:i[1])
+c=[i[0] for i in b]
+#sorted(b, cmp=lambda x,y: cmp(a[x],a[y]))
+print c