Quantcast
Channel: CodeSection,代码区,Python开发技术文章_教程 - CodeSec
Browsing all 9596 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

White Noise Time Series with Python

White noise is an important concept in time series forecasting. If a time series is white noise, it is a sequence of random numbers and cannot be predicted. If the series of forecast errors are not...

View Article


Python Peculiarity: Copying Lists Using Slice

Being an experienced developer but a n00b to python, I’ve decided to pick up an excellentbook named “Effective Python” by Brett Slatkin . The book contains a heap-load of useful information about...

View Article


Image may be NSFW.
Clik here to view.

10 行 Python 代码的词云

什么是词云呢? 词云又叫文字云,是对文本数据中出现频率较高的“关键词”在视觉上的突出呈现,形成关键词的渲染形成类似云一样的彩色图片,从而一眼就可以领略文本数据的主要表达意思。 现在,可以从网络上找到各种各样的词云,下面一图来自沈浩老师的微博: 从百度图片中还可以可以看到更多制作好的词云,部分截图如下: 词云制作有很多工具........

View Article

Image may be NSFW.
Clik here to view.

Predicting Housing Prices with Linear Regression using Python, pandas, and...

In this post, we’ll walk through building linear regression models to predict housing prices resulting from economic activity. Topics covered will include: Reading in the Data with pandas Ordinary...

View Article

Image may be NSFW.
Clik here to view.

Python学习记录day8

title: python学习记录day8 tags: python author: Chinge Yang date: 2017-02-27 --- Python学习记录day8 @(学习)[python] [TOC] 1. 静态方法 @staticmethod装饰器即可把其装饰的方法变为一个静态方法。静态方法,只是名义上归类管理,实际上在静态方法里访问不了类或实例中的任何属性。...

View Article


Image may be NSFW.
Clik here to view.

Python爬虫实战――爬取今日头条美女图片

python爬虫实战――爬取今日头条美女图片 一点号天善智能昨天 笔者是头条的深度使用者,经常用头条完成“看片”大业。若不信的话可以试试在头条搜索街拍,返回的都是一道道靓丽的风景线。 想把图片存下来,该怎么办呢?我们可以用Python爬虫啊。 人生苦短,我用Python! 1、工具 Python3.5,Sublime Text,windows 7 2、分析(第三步有完整代码)...

View Article

python中类和类型介绍

类是什么 可以视为种类或者类型的同义词。所有的对象都属于某一个类,称为类的实例。 例如:鸟就是"鸟类"的实例。这就是一个有很多子类的一般(抽象)类:看到的鸟可能属于子类"百灵鸟"。可以将"鸟类"想象成所有鸟的集合,而"百灵鸟类"是其中的一个子集。当一个对象所属的类是另外一个对象所属类的子集时,前者就被称为后者的子类,所以"百灵鸟类"是"鸟类"的子类,"鸟类"是"百灵鸟类"的超类...

View Article

Image may be NSFW.
Clik here to view.

Building Machine Learning Systems with Python

Building Machine Learning Systems with python This book provides you with an accessible route into Python machine learning, featuring a wealth of real-world examples. Tag(s): Machine Learning Python...

View Article


Image may be NSFW.
Clik here to view.

最经典的25本Python编程开发电子书(推荐)(附下载地址&资料包) !

最经典的25本python编程开发电子书(推荐)(附下载地址&资料包) ! 一点号9z营销大数据昨天 php?url=0FnSwCyOZ9" alt="最经典的25本Python编程开发电子书(推荐)(附下载地址&资料包) !" />如果,有人想转行程序猿,而让给出“如何切入编程”的建议的话,许多人一定毫不犹豫地向他推荐“Python”!...

View Article


PyBites: Code Challenge 09 - Give the With Statement some Love and Create a...

This week, each one of you has a homework assignment ... - Tyler Durden (Fight club) A new week, time for some coding! This week we have a free form exercise. After reading Dan's great article on the...

View Article

Image may be NSFW.
Clik here to view.

黑客技术初探――Python 实现 FTP 弱口令扫描器

一、项目说明 1.1 项目简介 本次实验通过使用 python 实现一个 FTP 弱口令扫描器开始,入门 Python 渗透测试技术,实验涉及 FTP 协议原理,ftplib 库的使用等知识点。 本教程由作者向实验楼投稿发布,完整教程及在线练习地址: Python 实现 FTP 弱口令扫描器 1.2 目标学员 具有Python语言基础,不会的同学请到隔壁班先去学一下 1.3 Python版本...

View Article

Image may be NSFW.
Clik here to view.

谷歌开源Python Fire,强大功能引爆业内

谷歌开源python Fire,强大功能引爆业内 一点号奇酷学院昨天 昨晚谷歌公布了新的 Python 工具包--Python Fire。它的功能很简单:能从任何 Python 代码生成命令行接口(CLI)。开发者面对任意一个 Python 程序,仅需调用 Python Fire 即可把该程序转为 CLI。Python Fire 已开源,用户可通过`pip install fire`在 PyPI...

View Article

Image may be NSFW.
Clik here to view.

What is it like to go to a Django Girls Workshop?

A bit of background information For those who have not come across Django Girls before, it is a non-profit organisation and community that empowers women to organise free, one-day programming/coding...

View Article


Simple Database High Availability for your Django app

Introduction what is HA (high availability) at all ? what happen if one of your servers,services,dbs get down , and you slept in bed and you think everything is ok ? the simplest definition of HA is :...

View Article

Hide Django App From Wappalyzer Detection System

Introduction what is Wappalyzer ? Identify software on the websites you visit Wappalyzer is a browser extension that uncovers the technologies used on websites. It detects content management systems,...

View Article


Python and R for code development

The previous post glossed about why I now prefer python to write code, including for a module like logopt. This post explains in more details some specific differences where I prefer one of these two...

View Article

Image may be NSFW.
Clik here to view.

趣店安全招聘

趣店集团成立于2014年3月,是服务于年轻人的消费金融平台,经过三年的稳健运营,趣店集团累计用户千万级,覆盖蓝领、白领等年轻人群,打造年轻人的信用体系,是中国分期购物的领导者之一。 安全工程师 工作职责: 1、负责公司业务的安全测试、应急响应。 2、负责推进各业务线的安全方案落地。 3、跟踪最新安全攻防动态,有先进的安全理念。 岗位要求:...

View Article


CPython实现 - 整型对象 - 实现分析

这篇文档主要介绍Cpython中的整数对象 在这之前先贴一些Python代码 >>> id(1) 140574362462680 >>> id(2) 140574362462656 >>> id(3) 140574362462632 >>> id(4) 140574362462608 内存地址竟然是连续的 id(1) - 24...

View Article

Image may be NSFW.
Clik here to view.

Debugging Python Code

The more code you write, the more time you also spend tracking down errors. That’s why it’s worthwhile to learn some debugging-skills! Pre-empting errors Do as much as possible upfront to facilitate...

View Article

Image may be NSFW.
Clik here to view.

How I Debug My Code

The more code you write, the more time you also spend tracking down errors. That’s why it’s worthwhile to learn some debugging-skills! Pre-empting errors Do as much as possible upfront to facilitate...

View Article
Browsing all 9596 articles
Browse latest View live