
Python
nyoj_lvy
哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
展开
-
python同步油管用户信息
在下用的python3.7的环境进行配置 google data api 网址:添加链接描述 1.安装google api的工具包 pip install --upgrade google-api-python-client pip install --upgrade google-auth-oauthlib google-auth-httplib2 2.申请Goole API密钥: 添加链接描述 在凭证中申请API密钥 3.打开Google DATA API V3的授权 添加链接描述 4.代码获取你需要原创 2020-07-24 18:24:09 · 464 阅读 · 0 评论 -
Python 统计微博文本的单词数
import os import xlrd import numpy as np import matplotlib.pyplot as plt import re from numpy.ma import log xpath = "/Volumes/DISK1/微博总语料库/" xtype = "xlsx" start_name = 'yug' typedata = [] name = [] r...原创 2018-09-28 10:55:10 · 368 阅读 · 0 评论