Mpj?ndZddlZddlZddlZddlZedk(rdZdZe dededejd D]uZ ejjejje dd zZejjej eZe d e d ewyy) zD Convert all "*.txt" files in a folder from EBCDIC cp1141 to UTF-8. N__main__cp1141zutf-8z convert from z to :z*.txtz _utf-8.txtz z --> )__doc__globos.pathostempfileebcdic__name__source_encodingtarget_encodingprint source_pathpathsplitextbasename target_namejointempdir target_pathe/mnt/ssd/data/Dropbox/adrian/scripts/msg_venv/lib/python3.12/site-packages/ebcdic/examples/convert.pyrs  zOO M/*$.?q AB tyy)4 gg&&rww'7'7 'DEaH<W ggll#38#3#3#5{C  ;-u[M234 r