#Py:数据挖掘之对微信朋友圈好友的性别、区域、昵称、签名信息进行情感分析——Jason niu import os import re import csv import time import json import jieba from jieba import analyse import itchat import base64 from snownlp import SnowNLP import requests import sys from collections import Counter from pylab import * from faceApi import FaceAPI mpl.rcParams[‘font.sans-serif‘] = [‘SimHei‘] from PIL import Image import numpy as np from wordcloud import WordCloud