Self-tutoring about Python: the tutor mentions not and not equal. Python’s not operator is the word not, rather than !. Yet, Python’s not equal operator is !=. Therefore, to test (in)equality, there seem two choices: x!=y not (x==y) Source: programiz.com

The tutor tells how to determine the version of Python the server is using. I’ve found two ways to print out the version of Python used by the remote server: import platform print “Content-type: text/html\n\n” print(platform.python_version()) or else import sys …

Web programming: Python: finding server version Read more »

Tagged with: , , ,