ser.inWaiting() always returns 0 when reading a virtual port
问题 I'm having difficulties getting pyserial to play nicely with a virtual port . I know this is an area which a few others have written about, but I couldn't find anything which solved my problem in those answers. Forgive me if I'm just being dense, and the solution exists ready-made elsewhere. This is what I'm trying to achieve: I want to set up a virtual port, to which I can write data in one .py file, and from which I can then read data in another .py file. This is for the purposes of