上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: import pandas as pd import pyodbc import time # 文件路径及文件名 mdb_file = r"X:\xxx.accdb" driver = '{Microsoft Access Driver (*.mdb, *.accdb)}' cnxn = pyodb 阅读全文
posted @ 2022-11-01 11:11 tec2019 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Server: import socket # 创建socket tcp_server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # 本地信息 address = ('服务器ip', 3000) # 绑定 tcp_serve 阅读全文
posted @ 2022-09-23 15:15 tec2019 阅读(266) 评论(0) 推荐(0) 编辑
摘要: Sub GetSheetName() Dim Path As String Dim File As String Dim WB As Workbook Dim sht As Worksheet Dim arr() As String Dim narr() As String Application. 阅读全文
posted @ 2022-06-28 14:02 tec2019 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Sub GetSheetName() Dim Path As String Dim File As String Dim WB As Workbook Dim sht As Worksheet Application.ScreenUpdating = False Path = ThisWorkboo 阅读全文
posted @ 2022-06-28 08:45 tec2019 阅读(997) 评论(0) 推荐(0) 编辑
摘要: Sub compact_code() On Error Resume Next Dim Element As Object For Each Element In ActiveWorkbook.VBProject.VBComponents ActiveWorkbook.VBProject.VBCom 阅读全文
posted @ 2022-06-14 08:43 tec2019 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 用vim新建一个python文件后,如pw.py,会自动填写文件头部,如: # !/usr/bin/env python # -*- coding: utf-8 -*- # Pw @ 2013-04-15 17:26:33 将以下代码加入/etc/vim/vimrc文件: function Head 阅读全文
posted @ 2022-03-14 19:23 tec2019 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Demo.py from apps import create_app app=create_app() if __name__== '__main__': app.run(app.config['HOST'],app.config['PORT'],app.config['DEBUG'],threa 阅读全文
posted @ 2021-02-01 14:28 tec2019 阅读(571) 评论(0) 推荐(0) 编辑
摘要: import sys from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String 阅读全文
posted @ 2021-01-25 11:48 tec2019 阅读(186) 评论(0) 推荐(0) 编辑
摘要: #-*- coding: gb2312 -*- import pyodbc DBfile = r"test.accdb" conn = pyodbc.connect("Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=" + DBfile) 阅读全文
posted @ 2021-01-20 11:55 tec2019 阅读(757) 评论(0) 推荐(0) 编辑
摘要: @ECHO OFF&PUSHD %~DP0 &TITLE IPv隧道适配器管理 mode con cols=36 lines=20 color 27 :menu cls echo. 管理菜单 echo. ——————————————— echo. echO. 1 关闭隧道 echo. echo. 2 阅读全文
posted @ 2020-03-26 09:47 tec2019 阅读(331) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页