Oct-22-2017, 02:29 PM
(Oct-22-2017, 12:05 PM)Bpet Wrote: VSXCommand = raw_input("PO")
The 'raw_input' is a dead give away that the code was written in Python 2.x. As a new programmer, you should be using the latest version, which is currently 3.6.3. In the code you supplied, you'd only need to change
VSXCommand = raw_input("PO")
to VSXCommand = input("PO")
.By the way, here is the link to the docs: telnetlib (for version 3)
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition