cp1147-1.0
توضیحات
cp1147 EBCDIC french (euro) codec
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cp1147-1.0 |
| نام | cp1147 |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Denis Wallerich |
| ایمیل نویسنده | denis.wallerich@datim.fr |
| آدرس صفحه اصلی | http://www.datim.fr |
| آدرس اینترنتی | https://pypi.org/project/cp1147/ |
| مجوز | BSD |
==================================
IBM1147 french EBCDIC (euro) codec
==================================
**This package contains cp1147 EBCDIC french codec.**
About cp1147
============
I have files coded IBM1147 (EBCDIC french + euro sign), I was forced to write my own codec ``cp1147``, very close to the ``cp500`` (Canada, Belgium), it diverges on the characters "@\°{}§ùµ£à[€`¨#]~éè¦ç" :
::
import cp1147
print "euro sign ?",chr(159).decode('cp1147')
print ''.join([ chr(i).decode('cp1147') + " <=> " + chr(i).decode('cp500') + "\n" for i in range(0,256)
if chr(i).decode('cp1147') != chr(i).decode('cp500')])
Changelog
=========
1.0 - (2012-11-12)
Initial release.
- cp1147_search_function now return "codecs.CodecInfo" object
نحوه نصب
نصب پکیج whl cp1147-1.0:
pip install cp1147-1.0.whl
نصب پکیج tar.gz cp1147-1.0:
pip install cp1147-1.0.tar.gz