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

Image may be NSFW.
Clik here to view.

LeNet Convolutional Neural Network in Python

In today’s blog post, we are going to implement our first Convolutional Neural Network (CNN) ― LeNet ― using python and the Keras deep learning package. The LeNet architecture was first introduced by...

View Article


Image may be NSFW.
Clik here to view.

Zero Knowledge Proofs for NP

Last time, we saw a specific zero-knowledge proof for graph isomorphism. This introduced us to the concept of an interactive proof, where you have a prover and a verifier sending messages back and...

View Article


Image may be NSFW.
Clik here to view.

Packt 2016 开发者技能报告

全文24页,全英文,介绍当下定义软件开发者工作方式的 工具 和 技术趋势 。本文只列出部分笔者认为重要的部分,欲查看完整报告, 点击这里 。 目录 介绍&统计 人们使用的工具 编程语言 根据年龄分解 根据公司规模分解 哪门语言薪水最高 焦点 :Google Golang 焦点 :python 焦点 :web框架之争、 新的和将要到来的工具 新的编程语言 新的框架 为什么学习新技术...

View Article

python读取excel文件

一、xlrd的说明 xlrd是专门用来在python中读取excel文档的模块,使用前需要安装。 可以到这 https://pypi.python.org/pypi/xlrd 进行下载tar.gz文件,然后解压缩安装,在cmd命令窗口中切换到解压后的文件夹中,使用 python setup.py install进行安装。 方法二、 使用pip进行安装 pip install xlrd二、使用介绍...

View Article

PyDev of the Week: Cory Benfield

This week we welcome Cory Benfield ( @lukasaoz ) as our PyDev of the Week! Cory is a core developer of the python language, specifically on urllib3 as well as a core developer of the requests package...

View Article


Image may be NSFW.
Clik here to view.

Please Fix Your Decorators

If your python decorator unintentionally changes the signatures of my callables or doesn’t work with class methods, it’s broken and should be fixed. Sadly most decorators are broken because the web is...

View Article

Image may be NSFW.
Clik here to view.

Finding a development job you will love

Recently a friend asked about where to find some employees for a company she is working at. Some others had suggested the usual job sites, but when I looked at them and had a flash of insight: These...

View Article

Python Call Zabbix API to Get Hosts

文章首发站点:OpensGalaxy.com 书接上回,上一篇文章介绍了如何通过Zabbix api中的host.create方法来创建主机,并通过for循环可以实现批量创建主机。 本篇文章讲介绍如何通过host.get、hostgroup.get、hostinterface.get等方法组合起来加上一点点处理,生成上篇文章所需要的批量主机的字典格式,一气呵成的批量导出和创建主机。...

View Article


Building a Forex Data Pipeline w/ Python, Airflow, Postgres & Redis

It's rare these days that I come across a project that can get by on a single piece of database software. Each database has it's own speciality and as an ensemble multiple databases are worth more than...

View Article


Image may be NSFW.
Clik here to view.

A few things I loved about DjangoCon

DjangoCon wrapped about a week ago. As an organizer, attendee, speaker, and community member, I wanted to take a few moments to share some of the things I loved about this year’s event. Emceeing and...

View Article

Choosing the Best Path for Data Analytics Skills Investments

Companies are starving for data analytics and science skills. All the surveys we’re seeing have that same message. Among the most recent, a survey by CrowdFlower finds that 83% of data scientists...

View Article

Django 1.10 released

The Django team is happy to announce the release of Django 1.10. As always,the release notes cover the panoply of new features in detail, but a few highlights are: Full text search for PostgreSQL ....

View Article

Image may be NSFW.
Clik here to view.

Beginning Python, 2nd Edition|Python书籍

Beginning python, 2nd Edition 书籍描述 Gain a fundamental understanding of Python’s syntax and features with the second edition of Beginning Python, an up to date introduction and practical reference....

View Article


Image may be NSFW.
Clik here to view.

Python正规则表达式

python中主要使用re模块进行正则操作 这是python正则基本元字符 . 如 r.d 会匹配 red、r d等。不会匹配read; * 如 r*ed 会匹配 ed、rred、rrrred、red等。; + 如 r+ed 会匹配 rred、rrred等。不会匹配ed; | 如 abc|acd。会匹配abc或者acd; [] 匹配[]中任一字符 如r[bc]d,匹配rbd或者rcd;...

View Article

Image may be NSFW.
Clik here to view.

盘点:基于Python的深度学习库及框架

盘点:基于python的深度学习库及框架 一点号哇特机器人2天前 编辑:西和西 校对排版:吴双 Caffe 提到深度学习库就不得不提到Caffe,它是由Berkeley Vision and Learning Center建立的深度学习框架。Caffe本身并不是一个Python库,但它可提供绑定到Python上的编程语言。 特性: 1)模块化,且速度极快,能够运行最佳的模型与海量数据;...

View Article


Image may be NSFW.
Clik here to view.

如何用 Python 和 Flask 建立部署一个 Facebook Messenger 机器人

如何用 python 和 Flask 建立部署一个 Facebook Messenger 机器人 2小时前来源:linux中国 这是我建立一个简单的 Facebook Messenger 机器人的记录。功能很简单,它是一个回显机器人,只是打印回用户写了什么。 回显服务器类似于服务器的“Hello World”例子。 这个项目的目的不是建立最好的 Messenger...

View Article

Image may be NSFW.
Clik here to view.

整理的一些Python学习资料

整理的一些python学习资料 4小时前来源:PMidea 前不久总结了一篇linux思维导图整理,以及一篇Java知识图谱收集整理,得到很多小伙伴的喜欢,就有小伙伴说希望整理一篇Python的,但是我对Python了解不多,也就偶然看到有趣的玩玩,平时收集的也比较少,所以也就整理不了了呢~ 不过在看到知乎上的一个讨论【可以用 Python...

View Article


Image may be NSFW.
Clik here to view.

利用 Python 进行数据分析使用 IPython 提高开发效率

利用 python 进行数据分析使用 IPython 提高开发效率 1小时前来源:cnblogs 一、IPython 简介 IPython 是一个交互式的 Python 解释器,而且它更加高效。 IPython 发展到现在,它不仅仅只是一个加强版的 Python shell 了, 它集成了 GUI 控制台,这可以让你直接进行绘图操作;它还有一个基于 Web...

View Article

Configuring Jupyter/IPython notebook to work with PySpark 1.4.0

I have been using Apache Spark recently to process some data. I was using built-in PySpark interface that has capabilities to run as a Jupyter notebook, however I wanted to integrate it to be able to...

View Article

Image may be NSFW.
Clik here to view.

利用 Python 进行数据分析(二)尝试处理一份 JSON 数据并生成条形图

一、JSON 数据准备 首先准备一份 JSON 数据,这份数据共有 3560 条数据,每条内容结构如下: 本示例主要是以 tz(timezone 时区) 这一字段的值,分析这份数据里时区的分布情况。 二、将 JSON 数据转换成 python 字典 代码如下: 三、统计 tz 值分布情况,以“时区:总数”的形式生成统计结果 要想达到这一目的,需要先将 records 转换成...

View Article
Browsing all 9596 articles
Browse latest View live