The preview interface of Xmind2testcase secondary development adds the save function to save the uploaded XMIND and corresponding csv files locally

Application scenario: Every written use case is on each tester's computer. For a long time, many test cases will disappear inexplicably due to personnel replacement. Therefore, it is hoped to add a saving function on Xmind2testcase platform, which can uniformly save all the written use cases to the test server for reference by relevant personn ...

Posted by sublimenal on Thu, 30 Dec 2021 06:54:17 +0100

Complete case of flash ORM Sqlalchemy data operation

ORM ORM full spell object relation mapping Object - relational mapping It mainly realizes the mapping from model object to relational database data For example, map each record in the database table to a model object advantage You only need object - oriented programming, not database - oriented coding All operations on the database ...

Posted by Mysticated on Sun, 26 Dec 2021 18:36:43 +0100

Test and development: Python + Flask implements the interface to receive Disk information

Today's sharing is based on: Test Development: Python + Flask implementation interface receives memory information to further share how to use Python + Flask implementation to receive Disk information. Principle: Call the Shell script through Python to execute the Disk related commands, then process them, and then request the Requests libra ...

Posted by writer on Sat, 25 Dec 2021 11:39:17 +0100

Flask Http request - context, request hook

Basic knowledge Flask has two main dependencies WSGI (Web Server Gateway Interface) Toolset—— Werkzeug WSGI (Web Server Gateway Interface) is a standard used in Python to specify how the web server communicates with Python Web programsWerkzeug implements routing, debugging, and Web server gateway interfaces Jinja2 template engine ...

Posted by lulubell on Fri, 24 Dec 2021 04:11:29 +0100

Who suspended my Python multiprocess

Recently, I encountered a process suspension problem when using Python's multiprocessing module. Let's record it here. First, the minimum code of a multi process application is given. import multiprocessing as mp def produce(q): """producer""" for i in [1, 2, 3, 4, 5, 6, 7, 8, 9]: q.put(i) print(f"Producer quit.") def c ...

Posted by anon_login_001 on Thu, 23 Dec 2021 21:32:10 +0100

Online question and answer system -- page function development

Page function development It has been said before that the online Q & a system is divided into two user functions, one is a registered user and the other is a tourist Registered users: answer, post questions, comment, edit my Visitor: browse page function Today, let's first realize the pages that visitors can browse, the question list page ...

Posted by gillypogi on Tue, 21 Dec 2021 20:46:49 +0100

CTF_Web: Learn flash template injection (SSTI) from 0

0x01 Preface Recently, in the process of question brushing, it is found that the problems of template injection on the server side are also common. These injection problems are similar. The difference is that different frameworks and different filtering rules may require different final payload s. This paper will take Flask as an example to le ...

Posted by orangehairedboy on Sat, 18 Dec 2021 03:26:28 +0100

Python learning list [easy to understand, code can be run directly, highly recommended]

List of Python societies [easy to understand, highly recommended] The following is the main content of this article: ''' list Relationship between combined data type and basic data type Basic data type: Value type: int,float,bool character string Composite data types contain many basic data types ''' The following is the python code, including ...

Posted by evilren on Fri, 15 Oct 2021 07:35:20 +0200

Flash web development 1.5 web program and sending e-mail

preface: When we don't have a special background management platform, many types of applications need to remind administrators when specific events occur in the program, and the common communication method is e-mail, which is also the most stable way. The SMTP lib package in the Python standard library can be used to send e-mail in the fla ...

Posted by delickate on Thu, 16 Sep 2021 03:19:15 +0200

The origin of flash flash, the construction of virtual environment, the creation of the first flash program, and the interpretation of flash program

1 what is flash? Flask was originally an April Fool's Day joke by author Armin Ronacher on April 1, 2010, but later became very popular and became a formal web framework written in python Flask is a Web micro framework written in Python, which allows us to quickly implement a website or Web service using Python language. Before introducing ...

Posted by dukeu03 on Sat, 11 Sep 2021 02:21:35 +0200