Python can not only develop websites and reptile data analysis, but also write games. Next, we will share the code of tank war:
PS: in the process of learning python, many people often give up because they can't solve problems or don't have good tutorials. Therefore, I sorted out the basic Python script, web development, crawler, django, data m ...
Posted on Tue, 18 Feb 2020 01:46:50 -0800 by vh3r
This article mainly introduces some programming skills for beginners of Python, which are based on some basic programming habits. Please refer to
x = 6
y = 5
x, y = y, x
if statement in line
print "Hello" if True else "World"
Posted on Mon, 10 Feb 2020 07:46:41 -0800 by inversesoft123
Programmers not only have the logic and code in front of them, but also the underlying framework and architecture.
Recently, we are doing a complex table design data format setting, which uses the principle of multi fork tree, so we need to use recursion to realize data format.
2. The concept of recursion
Posted on Sat, 25 Jan 2020 07:57:56 -0800 by PallaviDalvi
Listener, filter and Servlet are three components commonly used in Java Web development. Filter is the most frequently used component, which is often used for simple permission processing, request header filtering and XSS attack prevention. If we use the traditional Spring MVC for development, we only need to configure the following in Tomcat's ...
Posted on Fri, 10 Jan 2020 03:51:06 -0800 by Ellen67
Today, I met a problem in web development. I looked up a lot of questions: ① format problem of lay UI data table ② format problem of json
First, look at the js format of the data table, where url is the path of your background data interface (the path of a specific method in the background). If there is an id, its value is the ...
Posted on Tue, 31 Dec 2019 08:39:50 -0800 by lynx2003
Definition: observer mode, also called publish subscriber mode, also called message system, also called message mechanism, also called custom event, solves the coupling problem between the subject and the observer
1. Solve the coupling problem (between classes, between objects, between classes and objects, bet ...
Posted on Sun, 15 Dec 2019 06:39:25 -0800 by dean7
On the problem of image center in html
fox has done such an experiment in learning HTML in web development. Here is the specific code of the experiment
margin: 0 auto;
Posted on Sat, 14 Dec 2019 11:49:17 -0800 by lnt
My blog has visitor statistics function. Let's see the effect
Original count code
<!-- No garlic count -->
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<span id="busuanzi_container_site_pv" >| Total traffic <span id="busuanzi_value_site_pv"></span> ...
Posted on Fri, 13 Dec 2019 09:36:56 -0800 by slpctrl
The first step is to introduce the jquery file and the js file and css file of the plug-in
<link rel="stylesheet" href="css/jquery.mu ...
Posted on Fri, 13 Dec 2019 07:37:42 -0800 by member123
How to realize and function
Override the default defaults with $. fn.validatebox.defaults.
The validate box is designed to validate the input fields of the form. If the user enters an invalid value, it changes the background color and displays warning icons and prompt messages. The validatebox can be integrated with the form plu ...
Posted on Thu, 12 Dec 2019 14:00:22 -0800 by amylisa