txt2cvar now works with python2 and python3