上一页 1 ··· 168 169 170 171 172 173 174 175 176 ··· 186 下一页
摘要: 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)
摘要: 小米手机 'adb -s {0} shell input swipe 200 1200 200 380'.format(sjh)#滑动 阅读全文
posted @ 2020-12-17 21:01 myrj 阅读(71) 评论(0) 推荐(0)
摘要: 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)
摘要: 1头文件,包含stdio.h头文件,include 称为文件包含命令,其意义是把尖括号""或引号<>内指定的文件包含到本程序中,成为本程序的一部分。被包含的文件通常是由系统提供的,其扩展名为.h 而stdio为standard input output的缩写,意为“标准输入输出”2.#include 阅读全文
posted @ 2020-12-16 11:23 myrj 阅读(339) 评论(0) 推荐(0)
摘要: "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)
摘要: 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)
摘要: 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)
摘要: //图像数据表: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)
摘要: //图像数据表: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)
摘要: # -*- 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 下一页