Download from http://extensions.services.openoffice.org/ru/project/dict_ru_RU file dict_ru_RU-0.6.oxt
Execute
unzip -p dict_ru_RU-0.6.oxt ru_RU.dic | sed -e \"1d; s/\\/.*$//\" | iconv -f koi8-r -t utf-8 > ru.dict
Now we have \"ru.dict\" file for Jazzy.
See http://narod.ru/disk/25561735000/ru.zip.html
Возникла необходимость рекурсивного копирования содержимого каталога
import os, string, shutil
src = "C:\\from"
dst = "C:\\to"
def copy_tree(src,dst):
for path, dirs, files in os.walk(src):
dir = string.replace(path,src,"").strip("\\")
new_path = os.path.join(dst,dir)
if not os.path.exists(new_path):
dir_util.mkpath(new_path)
for file in files:
file_from = os.path.join(path, file)
file_to = os.path.join(new_path, file)
shutil.copyfile(file_from, file_to)
