xfoil-optimization-toolbox icon indicating copy to clipboard operation
xfoil-optimization-toolbox copied to clipboard

python 3.x Excution error

Open TsingQAQ opened this issue 8 years ago • 0 comments

Hi nice code I've tried to make thie code run using python3 but encountered some problems, so I've changed some in the Xfoil class:

  1. from queue import Queue, Empty(for python3)
  2. in cmd metho convert str to bytes to let it run
  3. convert output from bytes to str

No more errors show then but when I directly ran the example in xfoil.py it just not work, seems stuck at 'Xfoil module starting read'. I wonder what's the problem and how to make it run, or just can you make it campatible for python3? Many thanks

TsingQAQ avatar Feb 02 '17 08:02 TsingQAQ