Learning Python was meant to be fun, but it was found that the language was as simple as people's, so that the block was close to human language, which brought great benefits to the developers themselves.
Anyway is learning to play, I will start from the web framework web2py directly to learn.
First, when we set up a good python environment, directly using Pycharm to operate the WEB2PY project, and then run, to remember that the port default is 8000, it is recommended not to change, so as not to conflict with other services, start the service, into a default application interface, This is the implementation of the basic site hierarchy, of course, the focus is to say the architecture, nature is based on MVC, and the structure of PHP is not much different, upload pictures problems, I will not upload ...
such as: HTTP://127.0.0.1:8000/MAIN/F1/F2
Where main is the application name, F1 is the controller name, F2 is the method name under the F1 controller, and the default is the index method.
Through this, we can analogy PHP thinkphp framework, they all have the same original problem, because their architectural ideas are the same, so, learning is so, learn a technology, another door is comprehend by analogy.
The WEB2PY framework for Python learning