会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
168
169
170
171
172
173
174
175
176
···
186
下一页
2020年12月18日
根据序列号查IP
摘要: def getIP():#得到当前电脑IP import socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect(("8.8.8.8", 80)) ip = (s.getsockname()[0]) s.close(
阅读全文
posted @ 2020-12-18 10:56 myrj
阅读(551)
评论(0)
推荐(0)
2020年12月17日
调整记录
摘要: 小米手机 'adb -s {0} shell input swipe 200 1200 200 380'.format(sjh)#滑动
阅读全文
posted @ 2020-12-17 21:01 myrj
阅读(71)
评论(0)
推荐(0)
PYTHON 获得当前路径
摘要: import os print os.getcwd() #获取当前工作目录路径 print os.path.abspath('.') #获取当前工作目录路径 print os.path.abspath('test.txt') #获取当前目录文件下的工作目录路径 print os.path.abspa
阅读全文
posted @ 2020-12-17 14:43 myrj
阅读(761)
评论(0)
推荐(0)
2020年12月16日
C++头文件
摘要: 1头文件,包含stdio.h头文件,include 称为文件包含命令,其意义是把尖括号""或引号<>内指定的文件包含到本程序中,成为本程序的一部分。被包含的文件通常是由系统提供的,其扩展名为.h 而stdio为standard input output的缩写,意为“标准输入输出”2.#include
阅读全文
posted @ 2020-12-16 11:23 myrj
阅读(339)
评论(0)
推荐(0)
2020年12月15日
asp.net 网页图片URL
摘要: "upload/"+Eval("kemu")+"/"+Eval("tx")+".jpg" "hander.aspx?id="+Eval("tx")Eval("tx").ToString()!=null ?true:false if (System.IO.File.Exists(ImgUrl)) 合并
阅读全文
posted @ 2020-12-15 11:17 myrj
阅读(188)
评论(0)
推荐(0)
2020年12月13日
sql 建立新表
摘要: USE [exam]GO /****** Object: Table [dbo].[tx] Script Date: 12/13/2020 22:19:59 ******/SET ANSI_NULLS ONGO SET QUOTED_IDENTIFIER ONGO CREATE TABLE [dbo
阅读全文
posted @ 2020-12-13 22:21 myrj
阅读(179)
评论(0)
推荐(0)
asp.net c#整理所有本地的图片一次性保存到SQL表中
摘要: string sql1 = "select distinct tx from tiku where tx is not null"; //检索tx表中所有的不重复的tx值 string sql2,url,txa; byte[] dd; DataSet ds = new DataSet(); ds =
阅读全文
posted @ 2020-12-13 21:02 myrj
阅读(103)
评论(0)
推荐(0)
asp.net c#从SQL2008读取图片显示到网页
摘要: //图像数据表:tx//字段id (nvarchar(50) ,image(image)//tgav为图片ID,实质为上传前的主名 (省略了.jpg) using System; using System.Collections.Generic; using System.Data; using S
阅读全文
posted @ 2020-12-13 20:48 myrj
阅读(170)
评论(0)
推荐(0)
asp.net c# 保存图片到sql2008
摘要: //图像数据表:tx//字段id (nvarchar(50) ,image(image)//tgav为图片ID,实质为上传前的主名 (省略了.jpg)private void kkkkk(byte[] imgBytesIn,string tgav) { try { SqlConnection con
阅读全文
posted @ 2020-12-13 20:41 myrj
阅读(100)
评论(0)
推荐(0)
2020年12月12日
手机顺风出行
摘要: # -*- coding: utf-8 -*- """ 手机屏幕截图的代码: screenshot.py """ import subprocess,random import os import sys from PIL import Image import os import time imp
阅读全文
posted @ 2020-12-12 15:18 myrj
阅读(152)
评论(0)
推荐(0)
上一页
1
···
168
169
170
171
172
173
174
175
176
···
186
下一页
公告