The first 2 months learned to use Jmeter+ant to do interface testing, and realized the interface of the batch maintenance management (about 500 cases), the "Interface" and "Interface Test" has a basic understanding, recently found some use Python
Reference NumPyImport NumPy as NPGenerate Random Data#200 sharesSTOCK_CNT = 200#504 Business daysView_days = 504#generate a normal distribution: mean expectation = 0, standard deviation =1 sequenceStock_day_change =Np.random.standard_normal
In the previous learning process, we know that iterators have two benefits:一是不依赖索引的统一的迭代方法二是惰性计算,节省内存But Iterators also have their own significant drawbacks, which is不如按照索引取值方便 一次性,只能向后取值,不能向前取值So we also need to learn another object that has生成器1.
Use of DDTDDT contains a class of adorners DDT and two method adorner data (direct input test data), File_data (can get test data from JSON or YAML)Only files ending in Yaml and YML are formatted in Yaml, and in other cases JSON is the
Server monitoring with PythonIn the Linux server, everything is a file, that is, the server running information, in fact, can be obtained from some files; after Baidu, you will know that in the Linux system, there is a/proc virtual file system:
Many programmers have the need to log, and the log contains information that has normal program access logs, there may be errors, warnings and other information output, Python logging module provides a standard log interface, you can store a variety
Server monitoring by installing some commonly used monitoring software, sometimes you need to run some shell or Python scripts, and the shell can use the system's own PS/FREE/TOP/DF and other shell commands, Python can invoke modules such as
Python installation:It is recommended to use Anaconda to install Python and its operating environment, Anaconda is an open source Python release that contains more than 180 scientific packages such as Conda, Python, and their dependencies.Anaconda,
Class is an object and can be decorated like a functionDecorator for class. pydef deco (obj): print (' ====== ', obj) obj.x=1 obj.y=2 obj.z=3 return obj# @deco #test =deco ( Test) # DEF Test (): # print (' Test function run
Operating Environment:Python3.5+pycharmInstance code:1 Import Requests,re2 3Keyword = input ("Please enter the song you want to listen to:")4URL ="Http://songsearch.kugou.com/song_search_v2?callback=jQuery1124006980366032059648_1518578518932&keyword
First, MemcachedMemcached is a high-performance distributed memory object caching system for dynamic Web applications to mitigate database load. It improves the speed of dynamic, database-driven Web sites by caching data and objects in memory to
Recently gnawing at "Python Core programming (third edition)", it feels that this book is not particularly friendly, although there is an improved code based on Python3, but the whole book of the benchmark feeling is still python2.7. So there are
When it comes to time, we need to use the time module. Before using the module, you should first import the module.# Common Methods 1. Time.sleep (secs) (thread) Delays the specified time run. Unit is seconds. 2. Time.time () Gets the current
Key points of common sense
The pronunciation and spelling of Python
The author of Python is Guido van Rossum (Uncle Tortoise)
Python was formally born in 1991
Python's interpreter is now available in several languages, and we often use
python IDLE (Integrated Development and learning environment) is an official lightweight Python IDE. In different Linux release versions, the installation commands are not the same, as follows:1. Centos/fedora/rhel (Red Hat Enterprise Linux)For
1. Regular Expressions Common operators. Represents any single character[] Character set, giving a range of values to a single character [ABC] denotes a, B, c,[a‐z] represents a to Z single character[^] Non-character sets, given a single character
Web development based on hi-nginx (python) -- UTF-8 coding, hi-nginxutf-8
It is very important to use UTF-8 encoding in a consistent manner. This is especially true for python2.
If you are using python2 in hi-nginx and you need to use Chinese text
Django-Getting Started: Download and project generation, django-getting started
Django is one of the most popular frameworks for python web application development. Today, I will introduce some of django's getting started knowledge.
To use the
Python opencv watershed algorithm example, pythonopencv
This article introduces the watershed algorithm example of python opencv and shares it with you as follows:
Target
Use the watershed algorithm to separate tagged Images
Use the
Python imitates the message sending function of the web version, and python sends messages
This version of the web version is cumbersome, but not difficult, without encryption throughout the process. If you are interested, you can try to have fun.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service