[Solved] How to use Python to login and detect error if the combination is wrong


Please note that when working with Python for web dev, it’s most convenient to use an already established framework, such as Flask which uses Werkzeug (simple and efficient).

I suggest you read up on Python web development here

https://docs.python.org/2/howto/webservers.html

and head to http://www.codecademy.com and finish the Python course first if you are unfamiliar with how to use it.

From Python official doc:

“The Web Server Gateway Interface, or WSGI for short, is defined in PEP 333 and is currently the best way to do Python web programming. While it is great for programmers writing frameworks, a normal web developer does not need to get in direct contact with it. When choosing a framework for web development it is a good idea to choose one which supports WSGI.”

I suggest Flask because it is really, really simple. But also take a look at

https://pelican.readthedocs.org/en/3.4.0/

This may not be the answer you were hoping for, but without showing us your current code, and telling us what you’ve tried, we cannot help any more 🙂

or to put it more bluntly, turn to StackOverflow only after you’ve invested some effort into researching in order to solve your problem, and failed after trying to implement a solution or two.

solved How to use Python to login and detect error if the combination is wrong