Starting a Go interpreter
In this series of posts, I’ll try to explain how one can write an interpreter in Go and for Go . If, like me, you lack a bit in terms of interpreters know-how, you should be in for a treat....
View Article3 个新的编程语言:来听听他们的作者怎么说
简评:现在世界上已经有了上百种编程语言,为什么还要不断投入相当大的努力来创建一个新的呢?三个新的开源编程语言( Coconut , Crystal , Oden )的作者回答得非常简单:在编程过程中,你总会遇到新的需求和市场需要满足。 这里简单介绍下三个语言各自的特点和设计初衷,希望能对其他想要自己创造编程语言的开发者有所启发。 Coconut:扩展 python 的范围...
View ArticlePython 2 or Python 3
这是一个风口浪尖的话题,我本不愿意参与这种无意义的论战,但是由于一系列关于新书《python Web开发实战》 的私信、留言、群讨论中,提及最多的问题竟然是「这个书是基于Python 2还是基于Python 3?」!实在崩溃,我还是写篇文章直接阐述下我的观点吧。 上周在公众号《编程派》的「 荐书 | 跟着豆瓣工程师学Web开发 」的留言中我的回复如下:...
View ArticleEasy vectorized parallel plots for multiple data sets
I will share a very quick and straight-forward solution to generate parallel plots in python of multiple groups of data. The idea is transitioning from the parallel axis plot tool to a method that...
View Article我最喜欢的9个深度学习库
我最喜欢的9个深度学习库 一点号编程派昨天 本文作者为pyimagesearch.com的创始人,是一位图像识别方面的博士。在本文中,他分享了自己常用的9个深度学习库。 如果你对深度学习和卷积神经网络感兴趣,但是并不知道从哪里开始,也不知道使用哪种库,那么这里就为你提供了许多帮助。 在这篇文章里,我详细解读了9个我最喜欢的python深度学习库。...
View ArticleGetting a list of books for a speaker from the Open Library API in Python
As part of a project I’ve been working on, I’m exploring using the Open Library API to get books someone has written. Their API gives you ISBNs (and many other identifiers), which you presumably can...
View ArticleProcessing MP3s in python
There are a series of python libraries for handling mp3s. I tried setting up a few of these many seem to be out of date, unmaintained, or nearly impossible to set up due to Python version requirements...
View Article从零构建一个简单的 Python 框架
从零构建一个简单的 python 框架 4小时前来源:linux中国 为什么你想要自己构建一个 web 框架呢?我想,原因有以下几点: 你有一个新奇的想法,觉得将会取代其他的框架 你想要获得一些名气 你遇到的问题很独特,以至于现有的框架不太合适 你对 web 框架是如何工作的很感兴趣,因为你想要成为一位更好的 web 开发者。...
View ArticlePython开发的Web爬虫,Scrapy
python开发的Web爬虫,Scrapy 3小时前来源:36大数据 php?url=0EQHuRy9yK" alt="Python开发的Web爬虫,Scrapy" />Scrapy...
View ArticleCompute the Signal To Noise ratio in audio files in Python
Computing the “signal to noise” ratio of an audio file is pretty simple if it’s already a wav file if not, I suggest youconvert it to one first. If you’re doing a lot of these, this can take up a lot...
View ArticleZulip聊天机器人Python开发
Zulip是什么 Zulip是移动和桌面办公聊天解决方案开发商 一个强大的群组聊天软件 目前已被Dropbox收购并完全开源 (github: https://github.com/zulip/zulip ) 就Zulip而言,该公司对消息的处理专注于会话,而不仅仅是基本的“聊天”。因此,消息流中包含主题和线程式回复,每个主题可以包含多个细分主题。...
View ArticleJeff Knupp: Python, sandman2, and Open Data
sandman2 (and its predecessor, sandman ) has been far and away my most successful open source project. I fully attribute this to its genuine usefulness. It is most often used as a command line tool,...
View Articlepython学习笔记:5 web开发
wsgi是最基础的接口实现方式, def application(environ, start_response): start_response('200 OK', [('Content-Type', 'text/html')]) return '<h1>Hello,...
View Article菜鸟的Python学习之路(流水账)
揭开python的面纱 开始是因为别人说Python简单才开始学的,然后那段时间刚考完研,也没什么事,就多少瞅了瞅,然后发现语法的确简单很多,或者说简洁更合适。 当时看的是简明Python教程,没用多久就看完了,跟着走了一遍。然后写了一个下载知乎日报内容的 小脚本 ,然后真正的体会到了Python库的强大。以前只接触过c和c++,也没有写过项目,没用多久就完成一个小东西,这让我感觉十分有成就感。...
View Article[系统开发] python 实现的 Bind 智能 DNS Web 管理系统
在公司的运营中,DNS还是很重要的,不仅名称解析需要DNS,一些重要的服务,比如负载均衡、HTTP 虚拟主机也会用到它。之前我曾经用 Perl 开发过一套 Bind DNS 管理系统,但是它必须与 BIND DNS 运行在同一台服务器上,而且不支持集群操作。为了适应 Docker 和分布式部署的需要,我用 python Django 重新开发了一套 Bind DNS Web 管理系统。 1....
View ArticlePyDev of the Week: Rami Chowdhury
This week we welcome Rami Chowdhury ( @necaris ) as our PyDev of the Week! Rami is an active contributor to the python community and an organization for the North American PyCon. If you’d like to see...
View ArticleArybo: cleaning obfuscation by playing with mixed boolean and arithmetic...
Obfuscation is made of many different tricks. One we meet very often is mixed instructions who make computations mixing usual arithmetic (ADD, SUB, MUL, DIV) and boolean one (XOR, AND, NOT, OR). All...
View ArticleGetting AI smarter with Q-learning: a simple first step in Python
Yesterday I found an “old” script I wrote during a morning in the last semester. I remember being a little bored and interested in the concept of Q-learning . That was about the time Alpha-Go had...
View ArticleSplitting a query into individual fields inDjango
As you should have already seen inprevious articles, I really like using django-filter since it covers (nearly) all my queryset filtering needs. With django-filter, you define a bunch of fields and it...
View Article学习PYTHON第一天
需要掌握的内容 1.编程语言 2.python 、 C# JAVA 3.python: pypy cpython jpython 4.执行方式 解释器 文件执行 5.指定解释器 python xxx.py ./xxx.py #! /usr/bin/env python ascii unicode utf-8 python 2.7 # -*- coding=utf-8 -*- 3.x 默认utf-8...
View Article