I've generated an exe
file with the cx_Freeze utility from the following python script:
from curses import wrapper
def main(stdscr):
pass
wrapper(main)
But when I'm running it, it gives me an error:
AttributeError: 'NoneType' object has no attribute 'fileno'
Full error:
The thing is that the exe works without errors when I'm excluding wrapper(main)
from the script.