
python
文章平均质量分 83
wuxi_joe
这个作者很懒,什么都没留下…
展开
-
python自动运行
# -*- coding:utf-8 -*- import subprocess,time,sys TIME = 3 #程序状态检测间隔(单位:分钟) CMD = "D:\mycode\Techingpython\daily.py" #需要执行程序的绝对路径,支持jar 如:D:\\calc.exe 或者D:\\test.ja...转载 2019-12-26 23:16:49 · 1754 阅读 · 0 评论 -
获取日交易数据
#encoding:utf-8 import tushare as ts import pandas as pd import pymssql import datetime import time localtime = time.localtime(time.time()) date_now= time.strftime("%Y%m%d", time.localtime()) start_...原创 2019-12-26 18:59:22 · 415 阅读 · 0 评论 -
读取数据到sql
#encoding:utf-8 import tushare as ts import pandas as pd import xlrd import pymssql import datetime import sys from pandas import DataFrame, Series from sqlalchemy import create_engine from tushare....原创 2019-12-26 23:17:33 · 164 阅读 · 0 评论 -
sqlalchemy中create_engine用法
Database Urls The create_engine() function produces an Engine object based on a URL. These URLs follow RFC-1738, and usually can include username, password, hostname, database name as well as optiona...转载 2019-12-25 22:55:24 · 4940 阅读 · 0 评论