Selenium - POM mode, unittest framework
1, POM mode
POM structure:
Project name file:
common folder:
base.py file: secondary encapsulation of selenium:
1. Open browser
2. Open address
3. Element positioning
4. Element operation
page folder:
1. Encapsulate each page of the project
2.page folder: divide the page into three layers
Presenta ...
Added by micah1701 on Thu, 13 Feb 2020 23:44:15 +0200
WSL CONDA Caffe foster RCNN CPU version installation
Catalog
Preface
Creating a virtual environment with conda
Git download fast RCNN Library
Install python dependencies
Compile configuration modification
Remove notes
Configure Python path (based on Anaconda3 python2.7)
Add hd5f library path
Compile lib
Compile Caffe
test
Preface
In this paper, ...
Added by chenggn on Mon, 10 Feb 2020 09:55:13 +0200
Dry Goods | Python+Pyecharts (1.6.2 Latest Version) Mapping the Coronavirus Distribution in Major Cities of the Country
This viral outbreak is believed to have seen this picture:
The advantage of this map is intuitive, but the disadvantage is that it is "too intuitive" and too rough to see the details of each city, so I came up with the idea of making a more "detailed" thematic map!Okay, now go straig ...
Added by sstangle73 on Sat, 08 Feb 2020 07:39:40 +0200
smac source analysis: a preliminary exploration of smac
Application of smac: auto-sklearn
SMAC(Sequential Model-based Algorithm Configuration), an algorithm configuration based on sequence models, is widely used in various automatic machine learning frameworks, such as Microsoft nni. https://github.com/microsoft/nni ), auto-sklearn, etc.The superparametric ...
Added by renj0806 on Fri, 07 Feb 2020 07:22:02 +0200
Manage Python virtual environments created by Conda
Manage Python virtual environments created by Conda
Download Installation
Download Anaconda
Install Anaconda
New Virtual Environment
Change the location of the new virtual environment.
Switching virtual environments
Adding packages to a virtual environment
Download pygame installation package
`c ...
Added by baccarak on Tue, 04 Feb 2020 04:54:03 +0200
Game assisted scripting (python)
This paper describes how to write game assistant scripts in Python
The main way to achieve this is to click on the line in the game by comparing pictures.Running a program requires the following.
PIL: Picture Processing Module (python3 replaced with pillow) Download address: https://www.lfd.uci.edu/~gohlke/pythonlibs/
pywin3 ...
Added by carlheaton on Mon, 03 Feb 2020 18:54:38 +0200
ucos real-time operating system learning notes-inter-task communication (mutex)
If you want to talk about mutex in ucos task-to-task communication, you will find that it is cleverly designed. Like sem, it is implemented by event mechanism. The code is not analyzed in every line, because Mr. Shao Bei is very clear about how mutex's kernel is implemented.Understand that mutex is a ...
Added by bmcewan on Wed, 22 Jan 2020 05:27:43 +0200
Data interface development of Django
Nowadays, more and more web projects use front-end and back-end separation, which realizes the decoupling of data and interface. They interact through network API.
API - Application Programming Interface
REST introduction
REST has nothing to do with technology and represents only one arc ...
Added by pazzy on Sun, 12 Jan 2020 09:34:32 +0200
Problem solving in the process of using Anaconda
CommandNotFoundError when conda uses the conda deactivate command
codedancing@Ubuntu:/usr/local/anaconda3$ conda deactivate
CommandNotFoundError: Your shell has not been properly configured to use 'conda deactivate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently suppor ...
Added by helraizer on Sat, 11 Jan 2020 19:15:02 +0200
Version compatibility of PyTorch and TensorboardX
1. Version compatibility between PyTorch and TensorboardX
In the use of tensorflow, people often use tensorboard to visualize data, such as the change of model structure and loss function. In fact, PyTorch can also use TensorboardX to visualize data. PyTorch has its own visdom module to realize visual ...
Added by allelopath on Fri, 10 Jan 2020 16:44:03 +0200