摘要: 源代码 Sub Macro1() ' ' Breaks worksheet and workbook structure passwords. Jason S ' probably originator of base code algorithm modified for coverage ' o 阅读全文
posted @ 2020-07-18 17:36 办公魔盒 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 源代码 Public CNN As ADODB.Connection Sub 连接数据库() Dim DataSource As String DataSource = Chr(34) & "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOS 阅读全文
posted @ 2020-07-18 17:35 办公魔盒 阅读(1214) 评论(0) 推荐(0) 编辑
摘要: 源代码 Private Const BITS_TO_A_BYTE = 8 Private Const BYTES_TO_A_WORD = 4 Private Const BITS_TO_A_WORD = 32 Private m_lOnBits(30) Private m_l2Power(30) P 阅读全文
posted @ 2020-07-18 17:34 办公魔盒 阅读(639) 评论(0) 推荐(0) 编辑
摘要: 源代码 Try Dim i As Intent i.Initialize(i.ACTION_VIEW, "file://" & File.DirRootExternal&"/保存目录/" ) i.SetType( "resource/folder" ) StartActivity(i) Catch 阅读全文
posted @ 2020-07-18 17:33 办公魔盒 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 下载地址: pip install platformer -i https://pypi.douban.com/simple 源代码 #!/usr/bin/env python # -*- coding: UTF-8 -*- """ __author__='hzh' __time__= 2018/0 阅读全文
posted @ 2020-07-18 17:32 办公魔盒 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 源代码 import socket # 套字节,获取IP #获取本机IP## def get_host_ip(): ip="" try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect(('8.8.8.8', 80)) i 阅读全文
posted @ 2020-07-18 17:31 办公魔盒 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 源代码 import pymysql #定义数据库连接类 class MysqlHelper(object): #定义空连接 conn = None #初始化变量及类 def __init__(self, host, username, password, db, charset='utf8', p 阅读全文
posted @ 2020-07-18 17:30 办公魔盒 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 源代码 from fastapi import FastAPI from pydantic import BaseModel import uvicorn app = FastAPI() #实例化FastAPI class Item(BaseModel): name: str price: floa 阅读全文
posted @ 2020-07-18 17:29 办公魔盒 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 源代码 $proArr = array( array('id'=>1,'name'=>'特等奖','v'=>1), array('id'=>2,'name'=>'一等奖','v'=>222), array('id'=>3,'name'=>'二等奖','v'=>333), array('id'=>4, 阅读全文
posted @ 2020-07-18 17:28 办公魔盒 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 源代码 import hashlib def strtomd5(md5_str): try: m_str = hashlib.md5() byt = md5_str.encode(encoding='utf-8') m_str.update(byt) str_md5 = m_str.hexdiges 阅读全文
posted @ 2020-07-18 17:26 办公魔盒 阅读(154) 评论(0) 推荐(0) 编辑