摘要:
之前学的: # -*- coding: utf-8 -*- """ Created on Fri May 29 11:51:15 2020 @author: Administrator """ import numpy as np import random t1=np.array([2,3,4,5 阅读全文
posted @ 2020-10-10 20:47
3ξ
阅读(59)
评论(0)
推荐(0)
摘要:
tcp服务器: # -*- coding: utf-8 -*- """ Created on Tue May 26 21:39:55 2020 @author: Administrator """ import socket #创建套接字 tcp_server_socket=socket.socke 阅读全文
posted @ 2020-10-10 20:43
3ξ
阅读(113)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- """ Created on Sat Apr 25 18:15:36 2020 @author: Administrator """ import requests import binascii import json import datetime 阅读全文
posted @ 2020-10-10 20:36
3ξ
阅读(140)
评论(0)
推荐(0)
摘要:
import json import requests # 翻译函数,word 需要翻译的内容 def translate(word): # 有道词典 api url = 'http://fanyi.youdao.com/translate?smartresult=dict&smartresult= 阅读全文
posted @ 2020-10-10 20:23
3ξ
阅读(213)
评论(0)
推荐(0)
摘要:
import matplotlib.pyplot as plt from matplotlib import animation import numpy as np import math print(math.pi) def drawHeart(): t = np.linspace(0, 3, 阅读全文
posted @ 2020-10-10 20:18
3ξ
阅读(84)
评论(0)
推荐(0)
摘要:
import requests, base64 # 百度AI开放平台鉴权函数 def get_access_token(): url = 'https://aip.baidubce.com/oauth/2.0/token' data = { 'grant_type': 'client_credent 阅读全文
posted @ 2020-10-10 20:15
3ξ
阅读(144)
评论(0)
推荐(0)
摘要:
from PIL import Image import sys # 将图片填充为正方形 def fill_image(image): width, height = image.size # 选取长和宽中较大值作为新图片的 new_image_length = width if width > h 阅读全文
posted @ 2020-10-10 20:12
3ξ
阅读(241)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- """ Created on Wed Apr 1 09:20:06 2020 @author: Administrator """ import time import random def getupmsg(): """ 获取正能量语句 :retur 阅读全文
posted @ 2020-10-10 20:04
3ξ
阅读(964)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- """ Created on Fri Apr 10 21:16:57 2020 @author: Administrator """ #执行代码测试 #控制程序自动执行 import os import datetime import time imp 阅读全文
posted @ 2020-10-10 20:03
3ξ
阅读(154)
评论(0)
推荐(0)
摘要:
e://python/ffmpeg-20200403-52523b6-win64-static/bin/ffmpeg -i e://python/music/a.m4a e://python/music/a.mp3 e://python/ffmpeg-20200403-52523b6-win64-s 阅读全文
posted @ 2020-10-10 20:02
3ξ
阅读(91)
评论(0)
推荐(0)

浙公网安备 33010602011771号