自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 SQL数据库

SELECT语句 1.1检索单个列 select prode_name from Products; 1.2检索多个列 select prod_id,prod_name,prod_price from Products; 注:选取多个列,逗号分割 1.3检索所有列 select * from Products; 注: 选择所有列,不适用于大型数据,可能存在选出后无用情况 1.4检索不同的值 select distinct vend_id from Products; 注:distinct选取唯一值,必须放在

2020-12-31 11:34:56 523

原创 图像处理写入excel

#!/usr/bin/env Python # -*- coding:utf-8 -*- import configparser import os import re import logging import log import openpyxl from PIL import ImageColor from PIL import Image log = log.de8ug_log()...

2019-08-23 11:50:02 183

原创 PDF读写操作

# pdf_demo.py # coding: utf-8 # 需要提前安装:pip install reportlab from reportlab.lib.pagesizes import A4 from reportlab.pdfgen import canvas from reportlab.pdfbase.ttfonts import TTFont from reportlab.pd...

2019-08-17 11:24:17 304

原创 time简易闹钟

#!/usr/bin/env python # -*- coding:utf-8 import datetime import time import subprocess from datetime import datetime class Alarm(): def __init__(self): self.time() def time(self):...

2019-08-14 14:47:02 97

原创 python基础

关键词 1.关键词 -> 代码骨架 2.特点:拼写,大小写固定,不能用于变量名 3.基础词 : is, None,global,not,with,as,or,yield,assert,import,in 4.流程词 : True,False,try,finally,except,continue,for,if,elif,else,break,raise 5.函数词 : def,return,...

2019-07-08 14:07:41 146

原创 字符串的增删改查

字符串的增删改查 1.增 (1) 直接增 '8'*7 '8888888' name = 'et' city = 'beijing' info = name + '; '+city info #info 信息 'et; beijing' (2) %,c style %s 属于替换符 也叫占位符 用来构造字符串 'name:%s,city:%s' %(name,city) 'n...

2019-07-08 14:06:11 1016

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除