各种实用、常用的小函数、类
Project description
一些常用的类、方法
介绍
一些常用的类、方法,不定时更新
软件架构
db 是数据库此操作模块
timeHelper 是和时间相关函数
common是 一些常用的方法
安装教程
安装
pip install jyhelper
更新
pip install jyhelper -U
使用说明
from jyhelper import db
from jyhelper import timeHelper
from jyhelper import common
dbIns = db(host='',user='root',password='',port=3306,db='')
for row in dbIns.table('table').select():
print(row)
print(common.explodeList([1,2,3],2))
print(timeHelper.getDate())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jyhelper-1.1.0.tar.gz
(7.5 kB
view hashes)