Python notes - special exercises and answers
1. Output hello world on the screen
print("hello world")
2. Try to define several variable types
int type float type bool type string type
a=1
b=1.0
c=2-1>2
d="f"
print(type(a),type(b),type©,type(d))
3. Try adding numeric types to see the result types
a=1
b=1.0
print(type(a+b))
4. Get the string e ...
Posted by evilcoder on Sun, 21 Jun 2020 22:04:38 -0700
Tensorflow2 Custom Dataset Pictures Complete Picture Classification Task
For image tasks of custom datasets, the general process is generally divided into the following steps:
Load data
Train-Val-Test
Build model
Transfer Learning
Most of the energy will be spent on data preparation and preprocessing. This paper uses a more general data processing method, and builds a simple model, a deeper resnet ...
Posted by angershallreign on Sun, 21 Jun 2020 17:17:49 -0700
Python Web Crawler Warfare: Jiayuan discovered amazing secrets after crawling nearly 60,000 Miss and Sister data
It's 11/11 again. I don't know when it started. 11/11 changed from "Singles Day" to "11/11 Shopping Carnival". The last single dog festival was also successfully conquered and became a holiday for couples to give gifts and love.
Turning over the quiet to silent chat list, I suddenly woke up. No, we can't go on like this. Wh ...
Posted by dan7474 on Sun, 21 Jun 2020 15:01:24 -0700
DozerCTF2020 partial web recurrence
A few days ago, in the competition, the web only made two check-in questions, and the question of domain penetration was put on hold for the time being. I thought I could reproduce the other web.
Platform: http://ctf.dozerjit.club:8000/
sqli-labs 0
SQL labs changed the question, tried many kinds of po ...
Posted by jraede on Fri, 19 Jun 2020 22:18:36 -0700
a21_Python development web crawler - learning notes
Select reference
Because I am learning to write at the same time, rather than starting to write in a very organized way after I have learned it completely, so reference materials are very important (originally personal development experience is very important, but I am zero Foundation)
Official Py ...
Posted by zero816 on Fri, 19 Jun 2020 03:15:13 -0700
Java day 38, Spring framework series, dependency injection -- profile injection
1, What is dependency injection
Dependency management is managed and maintained by the spring framework. Other class resources needed by the current class are provided by spring. We only need to declare them in the configuration file. The maintenance of dependency is called dependency injection
2, ...
Posted by DarrenReeder on Thu, 18 Jun 2020 19:12:48 -0700
[Spring framework] Introduction to Spring's IOC
IOC introduction of Spring
Spring's IOC idea
One of Spring's core ideas: IOC (Inversion Of Control) Inversion Of Control.
Inversion Of Control (IOC): it is an important feature of the framework to hand over the creation, initialization, destruction and other work of objects to the framework. It's no ...
Posted by Robin M on Thu, 18 Jun 2020 03:34:40 -0700
In order to make my girlfriend happy, I used Python to grab all the major recipe information (see how I did it)
preface:
In the holiday, often want to try their own cooking, kitchen this website is a good choice. Under the kitchen is one of the necessary sites, mainly provides a variety of food practices and cooking skills, including many kinds. Today, I will teach you to climb and take down the recipes in th ...
Posted by Roddy87 on Tue, 16 Jun 2020 22:03:11 -0700
SpringBoot send mail from multiple email sources
preface
.
Realization ideas
Spring boot starter mail will spring.mail.xxx The related configuration automatically configures JavaMailSender. But only a s ...
Posted by Xyox on Tue, 16 Jun 2020 01:11:25 -0700
LayoutInflater and its source code analysis in Android Development
The infilate method of layoutinflate is a common method used in Android development, but its parameters make many beginners feel headache. I don't know what they represent respectively. This paper makes a summary combining with several other blogs. The inflater method has the following four overloaded m ...
Posted by .evo. on Mon, 15 Jun 2020 21:11:15 -0700