PyEBCDIC

A EBCDIC parsing and encoding tool.

Usage

Punched Card to Text

python EBCDICPCParser.py [Punched Card File] [Output File]

Text to Punched Card

python EBCDICToPC.py [Text File] [Output File]

About Punched Card File

‘(space)’ means not punched.
‘0’ means punched.
The characters in each line maps to ‘YX0123456789’ of IBM 80-column punched card.

EBCDIC Table

Link