Python 3 standard library: tempfile temporary file system object

1. tempfile temporary file system object It is very difficult to create a temporary file with unique name safely to prevent it from being guessed by the person who is trying to destroy the application or steal the data. tempfile module provides multiple functions to create temporary file system resources safely. TemporaryFile() opens and return ...

Posted by Patrick on Sun, 15 Mar 2020 19:17:23 -0700

Anti font encryption attempt

Preface Based on Baidu search information, blog article research, as well as the summary of questions. Font encryption is garbled in the source code, but it is normal to display in the browser. This post is for study only.   encryption The general process of font encryption: 1. When the back-end returns data to the front-end, a unicode code is ...

Posted by snidog on Sun, 15 Mar 2020 01:20:14 -0700

Crawler requests Library

If you want to use selenium to realize the functions of B station automatic login and click like, you can check how to solve the sliding unlocking. However, it's about the content of the crawler, and then you start to learn about the crawler. Before long, you want to make the website that records your life, so your friends recommend the layui f ...

Posted by madwormer2 on Sat, 14 Mar 2020 08:23:12 -0700

Crawler requests Library

If you want to use selenium to realize the functions of B station automatic login and click like, you can check how to solve the sliding unlocking. However, it's about the content of the crawler, and then you start to learn about the crawler. Before long, you want to make the website that records your life, so your friends recommend the layui f ...

Posted by JMJimmy on Sat, 14 Mar 2020 08:22:52 -0700

JAVA EE -- XML (overview of XML files, constraints of XML files, parsing of XML files, reflection of XML)

Article directory 1, Overview of XML files 1. XML file 2. Sample XML file Two, the restriction of XML file 1. Constraints overview 2. DTD constraint example 3, Analysis of XML file 1. Overview of XML file parsing 2. DOM parsing 3. SAX parsing 4. DOM4J parsing 5. JDOM parsing 6. Comparison of sev ...

Posted by capetonian on Fri, 13 Mar 2020 19:35:06 -0700

Summary of problems encountered in java calling python program!!!

Catalog Problems encountered: 1, java calls python with no result and no error. 2, java calls python to output garbled code 3, java output string wrapping problem In the recent learning process, java programs are needed to call python projects, all of which are win10 systems python project is ...

Posted by jck on Fri, 13 Mar 2020 05:22:04 -0700

Request other functions

Article directory 1, General way to get request parameters 2, Request forwarding 3, Shared data: 4, Get ServletContext 1, General way to get request parameters The following methods can be used to get the request parameters in both get and post request modes (1) String getParameter(String name): ...

Posted by Jennie on Fri, 13 Mar 2020 01:10:35 -0700

Spring day 2: preliminary understanding of concepts of AOP, IOC and DI

The core of Spring Spring's core concepts are inversion of control (Ioc), aspect oriented programming (AOP), and dependency injection (DI)! These three core technologies are the basis of learning spring, and most of the others are based on their integration. Let's introduce them separately Spring's of ...

Posted by jediman on Thu, 12 Mar 2020 21:17:43 -0700

The construction of simple mail server

Business background Send an entry welcome email to an employee when they are added Preparation Take QQ email as an example Log in QQ email and select settings and accounts Find the POP3/SMTP service in the account settings Click the "open" button, send SMS according to the guidance step ...

Posted by meow on Thu, 12 Mar 2020 05:16:01 -0700

Go language - package static files

For the developers of Go language, while enjoying the convenience of the language, we are also keen on the final compilation of a single executable. However, Go did not compile our static resource file when compiling into binary file. If we are developing web application, we need to find a way to compil ...

Posted by burfo on Thu, 12 Mar 2020 02:21:59 -0700