day11 function advanced
Objective: to master function related fallibility & a necessary skill for project development.
Supplement of parametersFunction name, what is the function name?Distinguish between return value and print.Scope of function
1. Supplement of parameters
Advanced functions can make the code more concise and i ...
Added by alfpalafox on Tue, 19 Oct 2021 03:20:45 +0300
1, What is a Web framework?
A piece of code has been encapsulated to assist the rapid development of the program, which is equivalent to the semi-finished product of the projectDevelopers only need to write their own business logic code at the specified location according to the requirements of the framework agreement
For example, there are t ...
Added by mdnghtblue on Sat, 16 Oct 2021 00:20:19 +0300
Django Nginx+uwsgi installation configuration
We use python manage.py runserver to run the server. This applies only in the test environment. For officially released services, we need a stable and sustainable server, such as apache, Nginx, lighttpd, etc. This article will take Nginx as an example.
When it comes to uwsgi, I ...
Added by anoesis on Sat, 02 Oct 2021 20:44:11 +0300
It needs to explain the following:
Software positioning, basic functions of software.Method of running code: installation environment, startup command, etc.Brief instructions for use.Description of code directory structure, which can explain the basic principle of software in more detail.Description of frequently asked qu ...
Added by pvechi on Tue, 28 Sep 2021 08:44:01 +0300
One from... import
1.1 from... import
from ... import ... Use examples of.
from meet import name, read1
from the meet.py
meet Module: Guo Baoyuan
1.2 comparison between from... Import... And import
The only difference is that using from... Import... Is to import the names in spa ...
Added by warewolfe on Mon, 27 Sep 2021 01:05:11 +0300
In an attempt to develop quickly, a web project was built using the Flask framework, but the need to adapt the Oracle database created a bunch of problems. Flask projects typically use flask-sqlalchemy to adapt to multiple types of databases based on SQLAlchemy middleware, including Oracle.
How ID field self-increment adapts
When usi ...
Added by th3void on Thu, 16 Sep 2021 04:23:15 +0300