What is the proper way of communicating with named pipes on Windows from Python? I've googled it, and can't find any packages that wrap this communication.

There are: 

* some descriptions of how to do it with pywin32 (I could not find how to connect to an existing pipe with it, though).
* This package: <https://pypi.python.org/pypi/PyWPipe/> (had no luck with it either)
* A piece of code here, that I haven't yet tested: <http://jonathonreinhart.blogspot.ru/2012/12/named-pipes-between-c-and-python.html>

I need just to connect to an existing named pipe and read/write to it. I previously had only tried communication with serial port (using pySerial), and I'm surprised how little info I could find on named pipes in comparison to it. There's usually tons of guides for any purpose for Python.

I'll appreciate any help.