Skip to content

geoangelotti/punchie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

punchie

alt text

A project that handles ye old Punched cards based on http://homepage.divms.uiowa.edu/~jones/cards/codes.html.

Using Python3 you can transform strings to Punched cards (keypunches).

I suggest you use a Virtual Environment.

Execution

  1. Set up the Python3 Virtual Environment.
    virtualenv -p python3 venv
  2. Activate it.
    source venv/bin/activate
  3. Run the executable.
    ./punch -i <file> -f <format>

The formats are cdc, dec_026, dec_029, ge_600, ibm_024_rept, ibm_024_prog, ibm_026_fort, ibm_026_comm, ibm_029_029, ibm_029_ibme, ibm_029_ebcd, ibm_1401, univac_1108

Example

Run the example script.
python example.py

Deactivate the Virtual Environment when you finish it.
deactivate