下载 wget https://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.xz 解压 tar -xvf node-v10.15.1-linux-x64.tar.xz 修改环境变量 vim /etc/profile PATH=$PATH: ...
分类:
Web程序 时间:
2020-10-07 21:42:36
阅读次数:
49
1.类 /* File : batchcim Purpose : A COMMON CLASS FOR CIMLOAD FROM EXTERNAL PROGRAM Syntax : Description : Compatibility with PROGRESS OPENEDGE 10.1A an ...
分类:
其他好文 时间:
2020-10-07 21:13:56
阅读次数:
33
1.1.user/urls.py 中添加路由 urlpatterns = [ path('register/', views.RegisterView.as_view()), # 注册视图, /user/register/ ] 1.2.user/views.py 中写注册视图函数 class Reg ...
分类:
其他好文 时间:
2020-10-07 21:13:12
阅读次数:
34
一、os 二、os.path import os import datetime print(os.path.abspath(".")) # d:\myPython abspath是绝对路径,‘.’是当前路径,相当于path.curdir print(os.path.abspath("..")) # ...
分类:
其他好文 时间:
2020-10-07 20:53:29
阅读次数:
28
下载源码包建立组和用户groupaddmysqluseradd-r-gmysql-s/bin/falsemysql解压解压mysqltarxvf/root/mysql-5.7.20-linux-glibc2.12-x86_64.tar.gz做软连接ln-smysql-5.7.20-linux-glibc2.12-x86_64/mysqlcdmysqlmkdirmysql-fileschown-Rm
分类:
数据库 时间:
2020-10-06 20:06:05
阅读次数:
41
Q1:xpinyin模块打包之后显示找不到指定文件Mandarin.dat description: 见标题 answer: 在Anaconda\Lib\site-packages\xpinyin路径下找到__init__.py 然后在__init__.py中编辑,找到 data_path = os ...
分类:
其他好文 时间:
2020-10-05 22:32:11
阅读次数:
56
1.编写注册接口 1.1 user/urls.py 中添加路由 urlpatterns = [ path('register/', views.RegisterView.as_view()), # 注册视图, /user/register/ ] 1.2 user/views.py 中写注册视图函数 ...
分类:
其他好文 时间:
2020-10-05 22:29:06
阅读次数:
35
开发环境:mac+python3.8.3+pyqt5.15.1+vscode 使用py2app打包运行后报错。 在命令行看到如下报错: Traceback (most recent call last): File "/Users/panda/Documents/work/python/xxx/di ...
分类:
其他好文 时间:
2020-09-24 21:51:42
阅读次数:
46
import xlrdapply_dic = []def get_excel(excel_path): with xlrd.open_workbook(excel_path) as workbook : name_sheets = workbook.sheet_names() #获取Excel的sh ...
分类:
其他好文 时间:
2020-09-24 21:49:24
阅读次数:
42
在之前解压的flink安装包中,创建一个软链接 ln -s flink-1.8.0 flink 配置flink的环境变量 #flink export FLINK_HOME=/opt/modules/flink export PATH=$FLINK_HOME/bin:$PATH 配置完成后,把flin ...
分类:
其他好文 时间:
2020-09-24 21:19:20
阅读次数:
44