2.linux下启动crm项目 1.准备好crm项目代码,上传到服务器 lrzsz xftp scp 用解压命令 unzip tf_crm.zip 2.cd到项目目录,创建python解释器的虚拟环境,用于启动crm项目 virtualenv --python=python3 venv_crm 3. ...
分类:
系统相关 时间:
2020-06-28 22:05:43
阅读次数:
69
一.字符串 1.字符串常见操作 拼接字符串 采用"+"号来拼接字符串,但是不能直接与其他数据类型拼接,需要str()来转换。 num1 = 11111 str1 = 'heiheihei' print(str1+str(num1)) ''' 输出 heiheihei11111 ''' 计算字符串长度 ...
分类:
编程语言 时间:
2020-06-28 20:57:37
阅读次数:
79
LeetCode 0700. Search in a Binary Search Tree二叉搜索树中的搜索【Easy】【Python】【二叉树】 Problem LeetCode Given the root node of a binary search tree (BST) and a val ...
分类:
编程语言 时间:
2020-06-28 20:49:28
阅读次数:
61
#表单 在web程序中,表单是与用户交互的最常见的方式之一。用户注册、登录、撰写文章。不过,表单的处理却并不简单。你不仅要创建表单,验证用户输入的内容,向用户显示错误提示,还要获取并保存数据。幸运的是,强大的WTForms可以帮我们解决这些问题。WTForms是一个使用Python编写的表单库,它使 ...
分类:
其他好文 时间:
2020-06-28 20:45:37
阅读次数:
43
# -*- coding: utf-8 -*- import pandas as pd from collections import defaultdict import json from pathlib import Path DATA = "6.28" dd = defaultdict(li ...
分类:
编程语言 时间:
2020-06-28 20:42:59
阅读次数:
55
LeetCode 0450. Delete Node in a BST 删除二叉搜索树中的节点【Medium】【Python】【二叉树】 Problem LeetCode Given a root node reference of a BST and a key, delete the node ...
分类:
编程语言 时间:
2020-06-28 20:37:59
阅读次数:
51
LeetCode 0701. Insert into a Binary Search Tree 二叉搜索树中的插入操作【Medium】【Python】【二叉树】 Problem LeetCode Given the root node of a binary search tree (BST) an ...
分类:
编程语言 时间:
2020-06-28 20:34:28
阅读次数:
44
1、什么是lambda函数ambda是匿名函数,使用lambda可节省函数名称。lambda argument_list: expressionlambda是Python预留的关键字,argument_list和 expression由用户自定义。冒号前是参数,可以有多个,用逗号隔开,冒号右边是函数 ...
分类:
其他好文 时间:
2020-06-28 20:29:50
阅读次数:
57
python爬虫:BeautifulSoup 使用select方法详解 1 html = """ 2 <html><head><title>The Dormouse's story</title></head> 3 <body> 4 <p class="title" name="dromouse"> ...
分类:
编程语言 时间:
2020-06-28 20:23:17
阅读次数:
61
[TOC]## 1. \*pyStrich (原huBarcode)> [github](https://github.com/mmulqueen/pyStrich)pyStrich is a Python module to generate 1D and 2D barcodes. Current... ...
分类:
其他好文 时间:
2020-06-28 20:16:57
阅读次数:
195