<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Stxiang的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_43590972</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_43590972]]></copyright><item><title><![CDATA[windows 搭建Mysql超详细]]></title><link>https://blog.csdn.net/qq_43590972/article/details/103049294</link><guid>https://blog.csdn.net/qq_43590972/article/details/103049294</guid><author>qq_43590972</author><pubDate>Wed, 11 Dec 2019 18:50:31 +0800</pubDate><description><![CDATA[1、安装包下载

下载地址：https://dev.mysql.com/downloads/mysql/

2.下载完成后，选择一个磁盘内放置并解压。

3.配置环境变量

变量名：MYSQL_HOME
变量值：盘符:\路径

4.生成data文件

以管理员身份运行cmd
进入E:\python\mysql\mysql-8.0.12-winx64\bin&gt;下
执行命令：mysqld --i...]]></description><category></category></item><item><title><![CDATA[Flask微框架的快速搭建]]></title><link>https://blog.csdn.net/qq_43590972/article/details/102717803</link><guid>https://blog.csdn.net/qq_43590972/article/details/102717803</guid><author>qq_43590972</author><pubDate>Thu, 24 Oct 2019 10:37:38 +0800</pubDate><description><![CDATA[Flask微框架的快速搭建

Flask是基于Werkzeug，Jinja 2和良好意图的基于Python的微框架微框架中的“微”意味着 Flask 旨在保持核心简单而易于扩展

官网地址:http://flask.pocoo.org/

文章目录

Flask微框架的快速搭建

	flask 安装
		蓝图介绍( Blueprint)
		蓝图作用
		
		搭建微框架
		创建项目文件
			...]]></description><category></category></item><item><title><![CDATA[Python之Matplotlib可视化基础]]></title><link>https://blog.csdn.net/qq_43590972/article/details/102702283</link><guid>https://blog.csdn.net/qq_43590972/article/details/102702283</guid><author>qq_43590972</author><pubDate>Wed, 23 Oct 2019 16:24:10 +0800</pubDate><description><![CDATA[1. import导入


import matplotlib.pyplot as plt
import numpy as np


2.基本绘图


plt.plot([1,2,3,4]) # basic plot
plt.ylabel("some num")
plt.show()




plt.plot([1,2,3,4],[1,4,9,16]) # plot x versus y
plt....]]></description><category></category></item><item><title><![CDATA[Python之Serise基础篇]]></title><link>https://blog.csdn.net/qq_43590972/article/details/102695430</link><guid>https://blog.csdn.net/qq_43590972/article/details/102695430</guid><author>qq_43590972</author><pubDate>Wed, 23 Oct 2019 09:52:46 +0800</pubDate><description><![CDATA[一维数组Serise

Serise创建的一维数组与Numpy不同之处在于，索引可以显示，并且还可以自定义索引。获取数组没有不同，都可以通过索引。

创建方式：

1 由字典创建，字典的key就是index，values就是values


import numpy as np
import pandas as pd
dic = {'a':1 ,'b':2 , 'c':3, 'd':4, 'e':...]]></description><category></category></item><item><title><![CDATA[Python之DataFrame基础篇]]></title><link>https://blog.csdn.net/qq_43590972/article/details/102685367</link><guid>https://blog.csdn.net/qq_43590972/article/details/102685367</guid><author>qq_43590972</author><pubDate>Tue, 22 Oct 2019 16:30:14 +0800</pubDate><description><![CDATA[DataFrame 表示矩阵数据表，有行索引和列索引。

DataFrame相当于有表格，有行表头和列表头


a=pd.DataFrame(np.random.rand(4,5),index=list("ABCD"),columns=list('abcde'))
print(a)

DataFrame基本操作

增加列或修改列


a['f']=[1,2,3,4]
a['e']=10
print...]]></description><category></category></item><item><title><![CDATA[DataFrame案例：把数据变成指定格式数据（字符串分割、清洗、合并、重新建立索引）]]></title><link>https://blog.csdn.net/qq_43590972/article/details/102665797</link><guid>https://blog.csdn.net/qq_43590972/article/details/102665797</guid><author>qq_43590972</author><pubDate>Mon, 21 Oct 2019 16:18:50 +0800</pubDate><description><![CDATA[数据建模之前，我们从数据部门拿到数据，但是这些数据的格式往往并不是我们可以直接使用的，比如下面表中的数据（左：原数据格式）。

原数据格式id自成一列，这个很好，但是标签和标签的置信度（这个id属于这个标签的可能性） 都在一个单元格里，仅用空格分隔开来，这对数据处理的过程中很不方便。

我们需要将数据转化成右图格式（右：所需数据格式），这有利于我们用id和其他表格中的数据匹配。   ...]]></description><category></category></item><item><title><![CDATA[web安全之Access注入漏洞]]></title><link>https://blog.csdn.net/qq_43590972/article/details/102557898</link><guid>https://blog.csdn.net/qq_43590972/article/details/102557898</guid><author>qq_43590972</author><pubDate>Mon, 14 Oct 2019 22:23:30 +0800</pubDate><description><![CDATA[Access注入

判断注入点

‘ （报错）

and 1=1 （and前有空格，带入查询，如果返回正常则有漏洞）

and 1=2 （返回错误）

or 1=1 或在id后加-号等等，报错则有漏洞

判断数据库类型

and exsits (select * from msysobjects)&gt;0 （如果存在则是Access数据库）

and exsits (select * from ...]]></description><category></category></item><item><title><![CDATA[Python-pip更改国内源]]></title><link>https://blog.csdn.net/qq_43590972/article/details/102379219</link><guid>https://blog.csdn.net/qq_43590972/article/details/102379219</guid><author>qq_43590972</author><pubDate>Tue, 08 Oct 2019 13:16:39 +0800</pubDate><description><![CDATA[Python-pip更改国内源

windows方式：

1.打开任意文件夹，在上方地址栏中输入%appdata%

2.在此目录里新建文件夹pip

3.在pip文件夹里新建文件名：pip.ini

4.把以下内容复制到pip.ini中，保存即可。

 [global]

    timeout = 6000

    index-url = https://mirr...]]></description><category></category></item><item><title><![CDATA[python简单实现数据行转列(利用pandas和numpy)]]></title><link>https://blog.csdn.net/qq_43590972/article/details/101350967</link><guid>https://blog.csdn.net/qq_43590972/article/details/101350967</guid><author>qq_43590972</author><pubDate>Wed, 25 Sep 2019 10:53:53 +0800</pubDate><description><![CDATA[直接上代码


import pandas as pd
import numpy as np
#生成行列格式数据
df=pd.DataFrame(np.random.randn(20).reshape(4,5),index=[['a','b','c','d']],columns=[10,20,30,40,50])
print(df)
#观察初始结构
#         10        20  ...]]></description><category></category></item><item><title><![CDATA[stx_tensorflow 学习之路（四)之逻辑回归]]></title><link>https://blog.csdn.net/qq_43590972/article/details/98071497</link><guid>https://blog.csdn.net/qq_43590972/article/details/98071497</guid><author>qq_43590972</author><pubDate>Thu, 01 Aug 2019 17:09:57 +0800</pubDate><description><![CDATA[逻辑回归

导入模块并且加载数据


import numpy as np
import tensorflow as tf
import matplotlib.pyplot as plt
import input_data

#把训练数据测试数据的标签与特征全部赋予给变量
mnist      = input_data.read_data_sets('data/', one_hot=True)
t...]]></description><category></category></item><item><title><![CDATA[stx_tensorflow 学习之路（三)之Mnist数据集简介]]></title><link>https://blog.csdn.net/qq_43590972/article/details/98056786</link><guid>https://blog.csdn.net/qq_43590972/article/details/98056786</guid><author>qq_43590972</author><pubDate>Thu, 01 Aug 2019 14:45:39 +0800</pubDate><description><![CDATA[首先先导入对应的mnist模块，如果报错，可以手动添加一个input_data,然后把数据集下好放在文件夹下命名为data


import numpy as np
import tensorflow as tf
import matplotlib.pyplot as plt
#from tensorflow.examples.tutorials.mnist import input_data
i...]]></description><category></category></item><item><title><![CDATA[stx_tensorflow 学习之路（二)之构造线性回归模型]]></title><link>https://blog.csdn.net/qq_43590972/article/details/98041305</link><guid>https://blog.csdn.net/qq_43590972/article/details/98041305</guid><author>qq_43590972</author><pubDate>Thu, 01 Aug 2019 14:02:42 +0800</pubDate><description><![CDATA[线性回归模型

创建线性回归模型我们首先需要导入用到包


import numpy as np
import tensorflow as tf
import matplotlib.pyplot as plt


然后需要随机生成1000个店围绕在y = 0.1x + 0.3的直线周围（当然你也可以选则别的直线都是可以的）

运用到numpy的numpy.random.normal(loc=0.0...]]></description><category></category></item><item><title><![CDATA[stx_tensorflow 学习之路（一)之tensorflow的基本变量和基本操作]]></title><link>https://blog.csdn.net/qq_43590972/article/details/98035337</link><guid>https://blog.csdn.net/qq_43590972/article/details/98035337</guid><author>qq_43590972</author><pubDate>Thu, 01 Aug 2019 11:12:15 +0800</pubDate><description><![CDATA[基本变量及基本操作

首先我们需要先导入tensorflow并且起个别名tf便于操作


import tensorflow as tf

在python中我们知道随便赋予一个变量值为多少，直接可以写成


#列如变量a初始值为0
a = 0

但是在tensorflow中变量需要调用其内置的Variable()


#声明两个变量矩阵
w = tf.Variable([[0.5,1.0]])
x...]]></description><category></category></item><item><title><![CDATA[windows下配置django虚拟环境]]></title><link>https://blog.csdn.net/qq_43590972/article/details/89186236</link><guid>https://blog.csdn.net/qq_43590972/article/details/89186236</guid><author>qq_43590972</author><pubDate>Wed, 10 Apr 2019 16:14:21 +0800</pubDate><description><![CDATA[windows环境下配置django

1、首先安装python物理环境Python3.6.5（django是基于Python3安装的）

Python3.6.5的安装包可以在官网下载

2、安装完成后，Python的安装过程中会自动给配置好环境变量很轻松

3、Ctrl+R打开终端输入命令pip install virtualenv



我这个是已经安装好的

之后输入命令pip insta...]]></description><category></category></item><item><title><![CDATA[git 命令 联合 码云的使用总结]]></title><link>https://blog.csdn.net/qq_43590972/article/details/89161721</link><guid>https://blog.csdn.net/qq_43590972/article/details/89161721</guid><author>qq_43590972</author><pubDate>Tue, 09 Apr 2019 20:51:50 +0800</pubDate><description><![CDATA[git简介

git是一个版本管理工具

看一下git的一个流程

git常用命令：

- git --version 查看版本

- git config -l 查看配置信息

- 克隆版本库 
- git clone 版本库地址 将远端服务上的项目克隆到本地

-...]]></description><category></category></item><item><title><![CDATA[python-django rest风格接口]]></title><link>https://blog.csdn.net/qq_43590972/article/details/88805196</link><guid>https://blog.csdn.net/qq_43590972/article/details/88805196</guid><author>qq_43590972</author><pubDate>Mon, 01 Apr 2019 17:32:29 +0800</pubDate><description><![CDATA[首先在django虚拟环境下安装djangorestframework


pip install djangorestframework

在settings添加app


'rest_framework',

创建urls.py


urlpatterns=[
    path('recommend/',hello.as_view(),name='hello')，
            ]
...]]></description><category></category></item><item><title><![CDATA[python多线程爬虫案例之爬取麦田]]></title><link>https://blog.csdn.net/qq_43590972/article/details/88804251</link><guid>https://blog.csdn.net/qq_43590972/article/details/88804251</guid><author>qq_43590972</author><pubDate>Mon, 25 Mar 2019 19:47:27 +0800</pubDate><description><![CDATA[import threading
import requests
from time import sleep
from bs4 import BeautifulSoup
import csv
from queue import Queue

# 封装一个多线程爬虫类
class CrawlThread(threading.Thread):
    def __init__(self,page_...]]></description><category></category></item><item><title><![CDATA[python多线程安全问题（两种解决方案）]]></title><link>https://blog.csdn.net/qq_43590972/article/details/88804185</link><guid>https://blog.csdn.net/qq_43590972/article/details/88804185</guid><author>qq_43590972</author><pubDate>Mon, 25 Mar 2019 19:44:39 +0800</pubDate><description><![CDATA[import threading
#如果多个线程同时访问同一个资源，就会造成线程得不安全

money = 0

#定义一个函数用于存钱
def addMoney():
    global money
    for i in range(1000000):
        money+=1
    print(money)

#线程冲突情况
def conflict():
    #有五个线...]]></description><category></category></item><item><title><![CDATA[python爬虫框架之Scrapy之分布式 + selenium爬取蘑菇街]]></title><link>https://blog.csdn.net/qq_43590972/article/details/88764405</link><guid>https://blog.csdn.net/qq_43590972/article/details/88764405</guid><author>qq_43590972</author><pubDate>Mon, 25 Mar 2019 19:11:37 +0800</pubDate><description><![CDATA[首先创建项目

进入项目文件夹下用cmd


scrapy startproject Mogu

打开项目创建app


scrapy genspider dushu dushu.com

修改settings.py


# -*- coding: utf-8 -*-

# Scrapy settings for Mogu project
#
# For simplicity, this file...]]></description><category></category></item><item><title><![CDATA[python爬虫框架之Scrapy之分布式爬取读书网]]></title><link>https://blog.csdn.net/qq_43590972/article/details/88726205</link><guid>https://blog.csdn.net/qq_43590972/article/details/88726205</guid><author>qq_43590972</author><pubDate>Sat, 23 Mar 2019 16:18:14 +0800</pubDate><description><![CDATA[首先创建项目

进入项目文件夹下用cmd


scrapy startproject DuShu


打开项目创建app


scrapy genspider -t crawl dushu dushu.com

修改settings.py


USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KH...]]></description><category></category></item></channel></rss>