首页 欲儿 第10页

欲儿 第10页

  • C++ 之 std::string 转LPCSTR

    C++ 之 std::string 转LPCSTR

    哎哟,转这个可把我给难死了,转这个转了一个小时,代码如下#include<string> #include<iostream> using namespace std; string str = "老子想杀了你"; LPSTR str1 = const_cast<char *>(str.c_str());...

    C/C++修行 2020-03-16 380 0
  • Pyhton之人脸比对

    Pyhton之人脸比对

    臭逼话少,先把代码上了创建应用的方式跟上一篇帖子类似:http://www.anyuer.club/?id=111源代码如下import json from urllib import request import base64 # client_id 为官网获取的AK, client_secret 为官网获取的SK # 获取token def gettoken():  &nb...

    Python修行 2020-03-14 524 0
  • Python 之图片文字识别

    Python 之图片文字识别

    没有装aip       请CMD : pip install baidu-aip 但是你需要先创建百度的API也就是应用来到应用列表源代码如下from aip import AipOcr import re """ 你的 APPID AK SK """ APP_ID = '18837...

    Python修行 2020-03-14 511 0
  • Python 之图片贴文字(表白奇效)

    Python 之图片贴文字(表白奇效)

    先上DJ,emmmmm原图贴字之后的图你让小姐姐放大看有惊喜,确实很惊喜源码如下:from PIL import Image, ImageDraw, ImageFont font_size = 7 text = "猪儿林" img_path = "D://yl.jpg" img_raw = Image.open(img_path)...

    Python修行 2020-03-14 509 0
  • Python字符串操作系列

    Python字符串操作系列

    这篇文章主要介绍了Python 字符串操作(string替换、删除、截取、复制、连接、比较、查找、包含、大小写转换、分割等),需要的朋友可以参考下去空格及特殊符号 s.strip().lstrip().rstrip(',') Python strip() 方法用于移除字符串头尾指定的字符(默认为空格)。 复制字符串 #strcpy(sStr1,sStr2) sStr1 = 'strcpy' sStr2 = sStr1 sS...

    Python修行 2020-03-07 412 0
  • python之暴力密码破解,如何输入指定字符,获得其任意的排列,可重复

    python之暴力密码破解,如何输入指定字符,获得其任意的排列,可重复

    人丑话不多,代码直接上import itertools num = input("Please enter the password length:") cc = int(num) passwd = ("".join(x) for x in itertools.product("0123456789QWERTYU...

    Python修行 2020-02-16 476 0
  • python写了个拉QQ的脚本

    python写了个拉QQ的脚本

    话不多说上代码import requests QQnum = input("请输入要拉取的QQ号:") url = "http://lqq.huojisu.com/mi/index.php" querystring = {"hm":QQnum,"ok":""} payload = ""...

    Python修行 2020-02-12 481 0
  • python 之手机号查询器

    python 之手机号查询器

    利用的是curl和post提交数据的目的python代码如下,不解释了。自己看。。。。import re import requests num = input("请输入你的电话号码:") url = 'https://shouji.51240.com/'+ num + '__shouji/' #url = "https://shou...

    Python修行 2020-02-11 476 0
  • 如何利用QQ自带POP3/SMTP服务来实现邮件轰炸

    如何利用QQ自带POP3/SMTP服务来实现邮件轰炸

    这是一段关于python的教学首先我们需要对用来做发邮件的QQ邮箱进行一定的配置,我这里命名为客服端QQ首先打开客服端QQ的邮箱,点击设置,再点击账户,开启POP3/SMTP服务,生成授权码#!/usr/bin/python # -*- coding: UTF-8 -*-   import smtplib from email.mime.text import MIMEText from email.uti...

    Python修行 2020-02-11 467 0
  • 腾讯QQ / 微信 amr转化成MP3

    腾讯QQ / 微信 amr转化成MP3

    工具link:https://pan.baidu.com/s/1P8jIr55pHuTiP6s8iQA-xg 多的话不多说打开程序windows环境下第一步导入文件第二步开始转化第三步打开转换好的文件好的教程结束,刚才我有试过是可以的...

    神兵利器 2020-02-03 393 0