r3nt0n/bopscrk

python 3 support

noraj opened this issue · 3 comments

noraj commented

python 2 is deprecated and the support will be dropped soon so python support would be welcome

Hi,
Just downloaded the code and adjusted it to be run under Python3. Changes that need to be done are:

  1. wrap the PRINT argument between brackets.
  2. there are 2 OPEN calls where they are sent 'rb' and 'wb'; remove from both the 'b' which stands for binary.
  3. replace every call to RAW_INPUT by INPUT.

This should be enough!

Hi @noraj and @kinsbrunner , check out the last contribution from @agoertz-fls , thanks to him the tool has beeing official upgraded to Python 3. I have created a branch which mantains Python 2 legacy support.