摘要:加入模块 首先确定该模块找不到,如下 这时需要添加模块的路径Tools-PYTHONPATH manage –add path –synchronize 然后可以查看tools下的current user environment variables,如下 此时,应该可以正常工作了,如果不行,就重启一
阅读全文
摘要:update Table1 set Column1 = ltrim(rtrim(Column1 ))
阅读全文
摘要:import pandas as pdimport os savefile_name=r'all.csv'file_list=os.listdir(r'E:\JDNetDiskDownload')df = pd.read_csv(file_list[0],encoding='GBK',usecols
阅读全文
摘要:Python版本:Python 3.6pandas.read_csv() 报错 OSError: Initializing from file failed,一般由两种情况引起:一种是函数参数为路径而非文件名称,另一种是函数参数带有中文。 # -*- coding: utf-8 -*-"""Crea
阅读全文
摘要:让python pip使用国内镜像 国内源: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/
阅读全文
摘要:pip install requests时报You should consider upgrading via the 'python -m pip install --upgrade pip' command 系统提示原来的版本太老了,需要更新版本。 系统提示需要使用python -m pip i
阅读全文
摘要:use tmp_products;drop table if exists tmp_products.orderid_201011051110;create table tmp_products.orderid_201011051110 ( orderid string comment '', pe
阅读全文
摘要:Ctrl+ f8设置断点,右键debug代码,然后按F8,逐步运用,界面会有提示。
阅读全文
摘要:import xlwtfor m in range(1,13): wb = xlwt.Workbook() wb.add_sheet('统计表%d'%m) wb.save('%d月.xls'%m)
阅读全文
摘要:import xlrdimport xlwtfrom xlutils.copy import copywb = xlrd.open_workbook(r'C:\Users\刘世达\Desktop\零基础python处理excel表格基础办公自动化实战源码实例视频教程\01 用Python处理Exce
阅读全文
摘要:select 姓名,max(来访时间) from TB表 group by 姓名
阅读全文
摘要:解决python在命令行中运行时导入包失败,出现错误信息 "ModuleNotFoundError: No module named ***" 转自https://www.cnblogs.com/dreamyu/p/7889959.html https://www.cnblogs.com/lifeo
阅读全文