There seems to be a problem with the python importation of curses. After importing it, it errors on the from _curses import * line in curses…I don’t know if this is new in this version, but is there a way to fix it?
Since “curses” is totally NOT panda3d-related, but python, I’d suggest asking this at a python forum/channel.
…I don’t even know what it is. It imports fine for me. Perhaps it’s your python version. Or you need to reinstall python.
I thought it would be, considering that in a regular python installation curses works, but it can’t find the file in panda’s version…It looks like the c part is missing.
I am using this for the curses.ascii part, which includes the definitions and needed functions to convert between ascii values and strings.
basically, these work :
- ASCII -> char :
chr(65)
result : ‘A’
2. char -> ASCII
ord('A')
result : 65
Thanks for the help, that’s exactly what I was looking for!