Category: 基础部分

Recent Post

用openpyxl读取excel文件(已封装)

import openpyxl def readExcel(path_name): myxl = openpy … <p class="link-more"><a href="http:/

python读写二进制文件(已封装)

def ReWriFile(filename,filename2): f1 = open(filename,& … <p class="link-more"><a href="http:/

python写入mysql数据库(已封装)

def insert_mysql(my_sql): #连接数据库 link=pymysql.connect( … <p class="link-more"><a hr

Python趣味编程–画小猪佩奇

import turtle as t t.pensize(4) # 设置画笔的大小 t.colormode(2 … <p class="link-more"><

Python趣味编程–画多啦A梦

from turtle import * def my_goto(x, y): penup() goto(x, … <p class="link-more"><a href="http:/

python获取随机字符串

# encoding: utf-8 # @author: newdream_daliu # @file: de … <p class="link-more"><a href="http:/

python连接MySQL

import pymysql #连接数据库 link=pymysql.connect( host = &#82 … <p class="link-more"><a hr