projekty
/
krypto.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
slovniky
[krypto.git]
/
slovniky
/
sl_perm.py
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
source = open('./psp.dic', 'r')
5
dest = open('./perm.dic', 'w')
6
7
for l in source.readlines():
8
print >>dest, ''.join(sorted(l.strip())), l.strip()
9
10
source.close()
11
dest.close()