linux system monitoring tool - glaces

##I. Introduction to glaces Glaces is developed based on python language, which can monitor and analyze performance data = = for linux or UNIX performance = = function. Glaces displays important system information on the user's terminal, and updates it dynamically, so that the administrator can grasp the use of system resources in real time, w ...

Posted on Wed, 16 Oct 2019 14:45:19 -0700 by jackinva

plotly Visualization Quick Tutorial

Links to the original text: Plotly Installs and Draws Five Mainstream Data Diagrams - Huizhi Network Plotly is a new generation of Python data visualization development library, which provides perfect interactive ability and flexible drawing options. This article will introduce how novices install plotly and write the first plotly drawing progr ...

Posted on Wed, 09 Oct 2019 18:28:27 -0700 by La Parka

Python cannot install PyAudio

I. Errors and Causes There are no wheels (pre-built packages) for Python 3.7 on Windows (one for Python 2.7 and 3.4 to 3.6), so you need to prepare the build environment on your PC to use this package. Because some packages are hard to build on Windows, it's easier to find the wheel of 3.7. This is th ...

Posted on Wed, 09 Oct 2019 09:07:21 -0700 by stevehaysom

Django configures celery timing tasks

Install celery Use redis+celery (using Ali Source or optionally not)pip install -i https://mirrors.aliyun.com/pypi/simple/ -U "celery[redis]" Modify Django's settings configuration file Add celery file Add a folder to the app peer directory, for example: service_celery Add celery.py file to ...

Posted on Tue, 08 Oct 2019 00:51:29 -0700 by petersen313

python statistical code coverage

[demand] what is code coverage? Why code coverage? 1 Coverage is to count which codes are executed and invoked in a period of time. If there are 100 lines of code coverage statistics, it is the proportion of how many codes are executed from the beginning to the end of the statistics. 2 why use case to s ...

Posted on Sun, 06 Oct 2019 17:00:33 -0700 by gdogfunk

Video Segmentation Using Moiepy in Python

scene Moiepy: https://pypi.org/project/moviepy/ It is a Python library for video editing: cutting, linking, Title insertion, video synthesis, non-linear editing, video processing and customization effect creation. Github: https://github.com/Zulko/moviepy Realization First you need to install moviepy Open cmd input: pip install moviep ...

Posted on Sun, 06 Oct 2019 16:44:28 -0700 by sitorush

matplotlib learning arrangement

matplotlib learning arrangement I. Installation, Reference and Overview pip install matplotlib from matplotlib import pyplot as plt # Drawing tool from matplotlib import font_manager # Font manager generally solves the problem that Chinese can not be displayed. 1.3. Graphics: Fold chart plt.plot() Scatter plot plt.scatter() Colum ...

Posted on Sat, 05 Oct 2019 07:23:56 -0700 by dieselmachine

Flask Learning-4-server Object (token)

Data Encryption-sha1 import hashlib pwd='a123456' temp=hashlib.sha1(pwd.encode()) print(temp.hexdigest()) hash salt encryption from werkzeug.security import generate_password_hash,check_password_hash def password_hash(str): method = 'pbkdf2:sha1:2000' salt_length = 8 str_encode = g ...

Posted on Sat, 05 Oct 2019 01:30:38 -0700 by alexweber15

Flask Learning Tour--Making a Simple Verification Code System with Python+Flask

I. Write in front Now, large or small websites will basically use the verification code. When they are logged in, they should be verified. When they are downloaded, they must be verified, and the verification code will also evolve from those simple character verification codes to the verification code that needs to be recognized by pictures an ...

Posted on Fri, 04 Oct 2019 14:12:26 -0700 by Meltdown

One-line command to install docker and docker-compose(CentOS7)

Want to install docker and docker-compose quickly? Then follow this article with a copy and paste to complete the installation: environmental information Operating System: CentOS Linux release 7.7.1908 (Core, Operating Account: root Docker Version: Current Latest Version: 19.03.2 docker-compose version: current latest version: 1.24.1 install ...

Posted on Fri, 04 Oct 2019 06:41:00 -0700 by jarvis