Hi. Hope it's not too cheeky to ask.
There's some really nice useful modules in here and I've been using them for some very off-label purposes.
Recently I've been having a go at updating to Python 3.8.
A lot of it seems to go fine but I always get issues with some of the command line Popen pipe reading and writing which seems to have changed. The program hangs on the line in gtp.py:
answer=self.process.stdout.readline().decode("utf-8")
But never seems to receive a response.
I'm not actually sure if it's a problem with the readline though? or if the write didn't work properly?
self.process.stdin.write(txt+b"\r\n")
I'm not sure if pnprog or anyone who's likely to read this will have tried doing this and had the same problems?
Hi. Hope it's not too cheeky to ask. There's some really nice useful modules in here and I've been using them for some very off-label purposes. Recently I've been having a go at updating to Python 3.8. A lot of it seems to go fine but I always get issues with some of the command line Popen pipe reading and writing which seems to have changed. The program hangs on the line in gtp.py:
answer=self.process.stdout.readline().decode("utf-8")
But never seems to receive a response. I'm not actually sure if it's a problem with the readline though? or if the write didn't work properly?self.process.stdin.write(txt+b"\r\n")
I'm not sure if pnprog or anyone who's likely to read this will have tried doing this and had the same problems?