Post-Kickstarter News
Published 6/25/2016 The campaign season is over, and we’re slowly recovering and getting back into a productive groove of coding, coding, coding and more. Kickstarter has transferred 34,594.37 to our...
View ArticleDjango CMS 3.3 发布,CMS 建站系统
Django CMS 3.3 发布,更新内容如下: Removed support for Django 1.6, 1.7 and python 2.6 Changed the default value of CMSPlugin.position to 0 instead of null Refactored the language menu to allow for better...
View ArticleBook Review: Python Projects for Kids
I get asked by publishers to review books from time to time. Last month, Packt asked me if I’d be willing to review for their book, python Projects for Kids by Jessica Ingrassellino. Frankly I tend to...
View ArticleGSoC Week 5
Well I started this week off by getting sick and as such productivity took a little bit of a hit. The majority of this week was spent reading Featherstone’s text book. The example documentation...
View ArticleOpen-Event Permissions System and integrating it with decorators
All the large scale applications require a permissions system. Thus we also implemented a permissions system in our open-event organization server. It consists of certain pre-decided roles: Super-Admin...
View Article推荐5本想学python必看的秘籍
python是一种美丽的语言 ,应用范围也很广,有很多的人开始学习python开发,对于初学者,这里有5本经典的书籍,如果你打算用看书来学习python,这5本书无疑是很好的选择。 1.python基础教程...
View ArticleChris Moffitt: Python Case Study: Vasudev Ram andxtopdf
Introduction A while back, I posted a call to share your case studies . Today, I am pleased to present the first one. One of the reasons I wanted to start this series is that I think it is helpful to...
View Article[CVE-2016-5699] Python HTTP header injection in urllib/urllib2
0 概述 python2.x 3.x 的urllib/urllib2从数据解析到发包的整个流程中,均未对URL提供安全性过滤或检查.导致换行符可被插入到HTTP数据流,使攻击者可以注入额外的HTTP头和请求方法. 本文将重点介绍: HTTP 请求头基础 Python urllib/urllib2 核心代码逻辑 漏洞验证过程及代码分析 1 位置 Python 2.x urllib2.py...
View ArticleOpenGL and OpenCV with python 2.7 - part 002.
I deal today with opencv and I fix some of my errors. One is this error I got with cv2.VideoCapture . When I try to used with load video and createBackgroundSubtractorMOG2() i got this: cv2.error:...
View ArticleCocktail Sort
Cocktail Sort is a variation ofBubble sort. The Bubble sort algorithm always traverses elements from left and moves the largest element to its correct position in first iteration and second largest in...
View Articledjango进阶基本功- Class View定制统一API
近期部门启动了一个”朝阳”项目,从项目规划选型到完成初版披荆斩棘,今仅对项目中用到的知识点作总结,如果项目发展顺利,后期再继续分享我们的”朝阳”项目更多细节. 0x01 Django框架 django用来开发内部的运维系统和支持系统个人认为是个不错的选择.你有权力说其他语言,其他框架,我也有权利保持沉默,暂且不挑起语言之争(其实php是世界上最好的语言.^_^)....
View ArticleSelenium + Python 自动化测试环境搭建
Selenium 是一个用于Web应用程序测试的工具。Selenium测试直接运行在浏览器中,就像真实用户操作一样。Selenium 框架底层使用javascript模拟用户对浏览器进行操作,测试脚本执行时,浏览器自动按脚本代码做出点击,输入,打开,验证等操作。 支持多平台:windows、linux、MAC 支持多浏览器:ie、ff、safari、opera、chrome...
View ArticleBooXtream EPub DRM Remover
BooXtream ePub DRM Remover This script is an implementation of Institute of Biblio-Immunology's First Communique: "Identifying and Removing Verso/BooXtream 'Social DRM' EPUB eBook Watermarks" It...
View ArticleFlake8 3.0 beta Released!
Today, I released Flake8 3.0.0b1. You can try it out by running: pip install --pre flake8 This marks the start of the culmination of several months worth of work and a couple years of hammock driven...
View ArticleMachine Learning Exercises In Python, Part 6
This post is part of a series covering the exercises from Andrew Ng's machine learning class on Coursera. The original code, exercise text, and data files for this post are available here . Part 1 -...
View ArticleIntro to python four years running
This week I was lucky enough to introduce 12 kids to the python programming language. I've been teaching 5th grade students python the last 4 years and inprevious years, the class size was limited to...
View ArticlePython在实时嵌入式系统中扮演的角色
python在实时嵌入式系统中扮演的角色 1小时前来源:CSDN 原文:Python’s role in developing real time embedded systems 作者:Jacob Beningo,嵌入式软件顾问(jacob@beningo.com)译者:刘帝伟 审校:刘翔宇责编:周建丁(zhoujd@csdn.net)...
View ArticleVasudev Ram: A Pythonic ratio for pi (or, Py for pi :)
By Vasudev Ram Py Pi image attribution A python built-in method can be used to find a ratio (of two integers) that equals the mathematical constant pi . [1] This is how: from __future__ import...
View Article为什么离不开 Stackoverflow
作为一名程序员,如果没有听过 Stackoverflow,那么你最好去面壁思过一下。程序员最需要阅读的一本编程书籍(其实编程书留下这本就够了!): 那些还没有读过这本书的程序员,是时候买一本了。如果还在犹豫,那么先看下这篇文章,看看为什么离不开 stackoverflow。 提问的智慧 当你b顺鲆桓黾际跷侍馐保
View Articlepython使用codecs模块进行文件操作-读写中英文字符
由于python中默认的编码是ascii,如果直接使用open方法得到文件对象然后进行文件的读写,都将无法使用包含中文字符(以及其他非ascii码字符),因此建议使用utf-8编码。 使用方法 读 下面的代码读取了文件,将每一行的内容组成了一个列表。 import codecsfile = codecs.open('test.txt','r','utf-8')lines =...
View Article