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

2016年年度十大Python库盘点

圣诞将至,又到了年终盘点时间,Tryo Labs 和去年一样又推出了一份 2016 年十大 python 库的榜单。对于这份榜单的筛选条件,Tryo Labs 写道:「我们避开了 Django、Flask 等已经成为今天的标准库的已经成功的项目。另外,这个榜单中有的库是 2016 年之前建立的,但它们在今年的受欢迎度出现了暴增或我们认为它们非常好所以可以进入这个榜单。」下面是榜单详情: 1....

View Article


Image may be NSFW.
Clik here to view.

Working with Django Templates & Static Files

Code In my getting started with Django tutorial , I showed you how to get a Django site up and running. The templates we rendered were very basic though. This is definitely not how you want your site...

View Article


Image may be NSFW.
Clik here to view.

Python科学计算和绘图入门

用到的相关模块 scipy numpy matplotlib mayavi 模块安装 主要就是这四个模块,如果要安装的话,前三个可以直接使用 sudo pip install xxx 来安装。对于mayavi,安装起来比较复杂,主要是vtk的安装,我安装了几次都没有成功,不管是使用ccmake还是使用independent...

View Article

Import Python: ImportPython Issue 104 - Developer Tools Survey, Apache Spark,...

pythonistas! How do you rate your favourite languages, frameworks, and technologies ? How popular is Python? Based on our survey findings, 19% of linux and 13% of macOS developers use Python as their...

View Article

Python Insider: Python 3.6.0 is now available!

python 3.6.0 is now available! Python 3.6.0 is the newest major release of the Python language, and it contains many new features and optimizations. See the What’s New In Python 3.6 document for more...

View Article


Image may be NSFW.
Clik here to view.

Python 3.6 is packed with goodness

Debuting a little more than a year ago, python 3.5 hinted at how the language could become faster and more powerful without sacrificing the convenience and ease of use that characterize Python --...

View Article

When should I use a Python tuple?

python has two different built-in data types that represent an ordered sequence of items, list and tuple . Now you might know that the difference between a tuple and a list is that a tuple is...

View Article

Image may be NSFW.
Clik here to view.

2016年十大Python库

2016年十大python库 一点号编程派3小时前 年终了,盘点类的文章就多了。国外有公司选出了过去一年中受欢迎度提升较快的十大 Python 库。本来想自己来简单翻译介绍一下,但是发现已经有人做了这事。因此分享过来给大家。 原文:tryolabs 译文:机器之心,参与者:李亚洲、吴攀、李泽南 圣诞将至,又到了年终盘点时间, Tryo Labs 和去年一样又推出了一份 2016 年十大 Python...

View Article


Python 3.6.0 released

[RELEASE] python 3.6.0 is released! Ned Deily nad at python.org Fri Dec 23 05:34:48 EST 2016 Previous message (by thread): Another security question Next message (by thread): [RELEASE] Python 3.6.0 is...

View Article


Image may be NSFW.
Clik here to view.

From Python to NumPy

Version 1.0 - January 2017 There is already a fair number of book about numpy (see) and a legitimate question is to wonder if another book is really necessary. As you may have guessed by reading these...

View Article

Image may be NSFW.
Clik here to view.

Python 3 利用 subprocess 实现管道( pipe )交互操作读/写通信

这里我们用windows下的shell来举例: from subprocess import * #因为是举例,就全部导入了 为了方便你理解,我们用一个很简单的一段代码来说明: 可以看见我们利用Popen实例化了一个p,创建了子程序cmd.exe,然后我们给他的的Stdin(标准输入流)Stdout(标准输出流); 同时使用了subprocess.PIPE...

View Article

2016 Week 40 Review

这周恰逢国庆假期,休息了两天(感觉今天貌似也在休息),明天学校断电断网(大农村条件艰苦),所以应该要出去一天,暂时的行程还没有安排。 编程 总结 首先收到了 HACKxFDU 的通过邮件,所以 14 号会去上海打一波酱油,以目前的水平如果不抱大腿感觉完全没有拿奖的可能性。主要的目的应该不是去参赛,可能会去找找下学期实习的目标,顺便认识一些大牛("g%

View Article

Image may be NSFW.
Clik here to view.

Python for Analytics - Exploring Data with Pandas

A Crack Team! At Rittman Mead, we're always encouraged to branch out and pursue new skills in the field in an effort to improve upon our skill sets, and as a result, become more technically fluent. One...

View Article


USDT/BPF Tracing Tools: Java, Python, Ruby, Node, MySQL, PostgreSQL

A lot of high-level languages, runtimes, and libraries people use on linux haveUSDT probes embedded in them. In some cases, you have to compile with a specific flag to get the probes embedded (e.g. in...

View Article

Using Ipython With Python3

I started to move along with using python 3, and for the sake of using it, wanted my python shell for to be working properly, now you must have been aware, I use ipython for most of my python work, so...

View Article


Image may be NSFW.
Clik here to view.

爬虫的入门以及scrapy

一、简介 网络爬虫(又被称为网页蜘蛛,网络机器人,在FOAF社区中间,更经常的称为网页追逐者),是一种按照一定的规则,自动地抓取万维网信息的程序或者脚本。另外一些不常使用的名字还有蚂蚁、自动索引、模拟程序或者蠕虫。 二、requests python标准库中提供了:urllib、urllib2、httplib等模块以供Http请求,但是,它的 API...

View Article

Python 3.6 Released

On Friday, more than a year after python 3.5, core developers Elvis Pranskevichus and Yury Selivanov announced the release of version 3.6 . An anonymous reader writes: InfoWorld describes the changes...

View Article


Experienced Django: Adventures in Python 3

As part of my playing with PyBuilder (mentioned in the last post), I decided to convert one of my old tools to use it and to convert to python3 at the same time. While this was probably foolish (making...

View Article

Image may be NSFW.
Clik here to view.

2D Terrain generation using midpoint displacement:

Today I will present how to implement in python a simple yet effective algorithm for proceduraly generating 2D landscapes. It is called Midpoint Displacement(or Diamond-square algorithm, which seems...

View Article

Image may be NSFW.
Clik here to view.

gitlab-ci配置python代码风格检查

之前关注了下持续集成相关的东西, 做了 jenkins 和 gitlab-ci 两套东西对比, 发现其实对于轻量级的持续集成, gitlab-ci 刚刚好, 风格检查/运行自动化测试/自动部署/提单等等, 通过简单几步就可以实现. 所以最终放弃了 jenkins 方案(环境/插件/维护等, 会耗费相对更多的时间, 违背了解决问题的初衷) 以下, 简要描述了如何搭建一套 python...

View Article
Browsing all 9596 articles
Browse latest View live