logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Python pytest测试

#!/usr/bin/env python# -*- coding:utf-8 -*-import itchatimport timedef func(x):return x+1def test_answer():assert func(3)==5#!/usr/bin/env python# -*- coding:utf-8 -*-import

#python#测试
Python微信

安装setuptool安装pip安装itchat微信把好友的消息返回给好友#! /usr/bin/env python#coding=gbkimport itchat@itchat.msg_register(itchat.content.TEXT)def print_content(msg):return msg['Text']itchat.auto_logi

#python#微信
一个nginx部署多个项目

在一台服务器上部署多个前端项目,只需一个nginx即可。在nginx-1.20.1>>html路径下分别拷入多个项目的dist文件,并以个性化命名。在nginx-1.20.1>>conf>>nginx.conf中进行配置server{location /aaa {alias E:\\nginx1.20.1\\html\\aaa;index index.html

#nginx
暂无文章信息