当前位置:网站首页>Exploring the way of automated testing - Preparation
Exploring the way of automated testing - Preparation
2022-06-29 13:25:00 【Zuozuocai】
Simple configuration pycahrm
Configuration header file
- Click on [ file ] — Click on [ Set up ]

- Click on [File and code Templates] — Click on [Python Script]
- Input :
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author : chairDu
# @Email : [email protected]
# @File : ${NAME}.py
# @DataTime : ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}
# @Description :
The first line : Set up python Default parser The second line : Set up utf-8 Default encoding format The third line : Set up user name Content of the fourth line : Set up mailbox The fifth line is : Set up Current file name Content of the sixth line : Set up current time , year - month - Japan when : branch The seventh line is : Set up remarks
- Click on [ application ] — Click on [ preservation ]

Download third-party libraries
- New projects
demoProjectNew packagedatabaseNew filedatabaseSqlite

pycharm Built in download
- Input
import sqlite3Import sqlite3 Frame time ,pycharm Monogram red error
- Click on
sqlite3Click onSmall light bulb for error reportingClick oninstall package micropython-sqlite3that will do
Visit the website to download the framework https://pypi.org/
Input
micropython-sqlite3Click on [ Search for ]
- Click on [micropython-sqlite3] Jump to https://pypi.org/project/micropython-sqlite3/Click on [ Download files ]

Click on [ micropython-sqlite3-0.2.3.tar.gz ] download
Unzip the downloaded file to python In the catalog site-packages in
\Python\Lib\site-packages

Copy path
D:\py\Python\Lib\site-packages, Add it to the environment variableRight click [ This computer ]-[ attribute ]

Advanced system setup

environment variable

double-click [path]

Click on [ newly build ], Paste path , Click on [ determine ]

Visit the website to download the framework https://pypi.org/
- Right click the lower left corner [ Start ]
- Click on [ function ]
- Input [cmd]
- Click on [ determine ]

- Input
pip install micropython-sqlite3that will do
perhaps
Reference resources :https://packaging.python.org
- visit https://pypi.org/project/ Jump to the website to download
SomeProject.whlfile
Get intocmd Administratorspage , Install with command
pip install SomeProject.wh
- Get into
cmd Administratorspage , Use the command directly to install
py -m pip install SomeProject Install the latest package
py -m pip install SomeProject==1.4 Install the specified version
py -m pip install SomeProject>=1,<2 Install interval version
- Get into
cmd Administratorspage , Use the upgrade package directly
py -m pip install --upgrade SomeProject
- Get into
cmd Administratorspage , Use the upgrade package directly
py -m pip install --extra-index-url http://my.package.repo/simple SomeProject
- visit https://pypi.org/project/ Jump to the website to download
SomeProject.whlfile
SomeProject.whlChange the file name to >>SomeProject.zip,
Unzip the file intoPython310\Lib\site-packagesUnder the path
View package information :
pip show SomeProject
边栏推荐
- 技术分享| 融合调度中的广播功能设计
- Cnpm reports an error 'cnpm' is not an internal or external command, nor is it a runnable program or batch file
- 服务器监控netdata面板配置邮件服务
- CVPR2022 | 通过目标感知Transformer进行知识蒸馏
- 360数科新能源专项产品规模突破60亿
- netdata邮件告警配置
- 3D model downloading and animation control
- 脚本中的node命令不在控制台打印执行日志
- CVPR2022 | 弱监督多标签分类中的损失问题
- QT custom control: value range
猜你喜欢

CVPR2022 | 可精简域适应

思科模拟器简单校园网设计,期末作业难度

Viewing splitchunks code segmentation from MPX resource construction optimization

Yolo series combs (IX) first taste of newly baked yolov6

Pod security policy (PSP)

SCHIEDERWERK电源维修SMPS12/50 PFC3800解析

趣谈网络协议(二)传输层

Rslo: self supervised lidar odometer (real time + high precision, icra2022)

SCHIEDERWERK電源維修SMPS12/50 PFC3800解析

Precautions for Beifu controller connecting Panasonic EtherCAT servo
随机推荐
RT thread memory management
Install the typescript environment and enable vscode to automatically monitor the compiled TS file as a JS file
Interesting talk on network protocol (II) transport layer
CVPR2022 | 可精简域适应
ArcGIS中对面状河流进行等距分段【渐变赋色、污染物扩散】
CVPR2022 | 弱监督多标签分类中的损失问题
C语言模拟实现所有字符函数
记一次固态更新与系统迁移debug的过程
MySQL常用语句和命令汇总
Beifu controls the third-party servo to follow CSV mode -- Taking Huichuan servo as an example
安装terraform-ovirt插件为ovirt提供自动化管理
Gee - American landfire fire fire data set
3D model downloading and animation control
The former security director of Uber faced fraud allegations and concealed the data leakage event
The role of each part of Neural Network & thoroughly understand neural network
商品搜索引擎—推荐系统设计
力扣:合并两个有序链表
C language simulation to realize all character functions
Hystrix断路器
三维模型下载与动画控制