-day11 -- function advanced

day11 function advanced Objective: to master function related fallibility & a necessary skill for project development. Summary: 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

Flash quick start 1

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

The whole process of configuring uwsgi nginx by django

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. uwsgi introduction When it comes to uwsgi, I ...

Added by anoesis on Sat, 02 Oct 2021 20:44:11 +0300

python project directory structure

Item 1 README 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

43. Module from import

One from... import 1.1 from... import from ... import ... Use examples of. from meet import name, read1 print(name) read1() ''' Execution results: from the meet.py Taibai Venus 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

Flask Project Use Oracle Database Crash Guide-ID Self-Increasing and Cast Automatic Type Conversion

Summary 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