Ernst-Georg Schmid: Module Monday: tcn
The next installment of the series covers contrib/tcn . tl;dr Tcn provides a native trigger function to send notifications about INSERT, UPDATE and DELETEs on any table it is attached to, to...
View ArticleBecome a pdb power-user
This is an explanatory article related to my talk at MUPy ― Become a pdb power-user . What’s pdb? pdb is a module from python’s standard library that allows us to do things like: Stepping through...
View Article没学过 C 语言的代价
本文作者 Ozan Onay 为 Bradfield 计算机科学学院教师 C 语言确实显得有些老旧。 最近一版权威性的 C 语言还是 1988年 发布的;在接近 30 年的时间里,这个语言的作者一直都没有对它进行过更新,可见它有多过时了 (这里有误。2011 年 12 月 8 日,国际标准化组织(ISO)和国际电工委员会(IEC) 旗下的 C 语言标准委员会(ISO/IEC...
View Article图灵11月书讯
11月出版12本新书,技术类7本,电子类1本,经管类1本,设计类1本,科普读物2本(含一本青少年读物),有的新书已经上架,最迟出版的于12月中旬上架销售。 1. 深入React技术栈 2. 数据架构:大数据、数据仓库以及Data Vault 3. 走进大数据:组织如何推进大数据战略 4. 通关!游戏设计之道(第2版) 5. python科学计算基础教程 6. GitHub实践 7....
View Articlepython字典嵌套字典的情况下获取某个key的value
最近在用python写接口的测试程序,期间用到解析字典获取某个key的value,由于多个接口返回的字典格式不是固定的并存在多层嵌套的情况。在字典的方法中也没有找到可直接达到目的的方法(也可能是我对字典的方法了解的不深的缘故),于是自己写了个程序。 1 #coding: utf-8 2 import types 3 4 #获取字典中的objkey对应的值,适用于字典嵌套 5 #dict:字典 6...
View ArticleA template for using Python on Azure Web Apps
Back in August we had a blog post on using newer versions of python on Azure App Service . In that post we outlined why we were working on this alternative approach to using Python onAzure App Service...
View ArticleUse It or Lose It - Your 2016 Budget
If you’re like many of us (and many of our customers), you, your manager, or your finance team set your budget at the end of the year for the next year. Many companies have a fiscal year end that...
View Article零基础初学者应该怎么去学习Python语言编程?-北京八维
零基础初学者应该怎么去学习python语言编程?-北京八维 一点号北京八维昨天 对于完全没有编程经验的初学者,在学习python的时候,面对的不仅仅是python这门语言,还需要面临“编程”的一些普遍问题,比如: 从零开始,不知道从何入手,找了本编程教材发现第二章开始就看不懂了 缺少计算机基础知识,被一些教程略过的“常识性”问题卡住 遇到问题不知道怎么寻找解决方案...
View ArticleMVPs Around the World: Seoul
Fasten your seatbelts, MVPs. This week we’re headed to Seoul, South Korea! The Django Girls Seoul got together a few weeks ago for a python and Django programming seminar. The volunteer-led group is...
View ArticleTim Golden: School Dojos, Raspberry Jams & Worksheets
Useful links: Turing House Dojo Wimbledon Raspberry Jam Wall Ball worksheets Worksheets source on Github I’ve been glad to help out recently at a couple of events aimed at getting youngsters coding....
View ArticlePython简单爬虫入门一
为大家介绍一个简单的爬虫工具BeautifulSoup BeautifulSoup拥有强大的解析网页及查找元素的功能本次测试环境为python3.4(由于python2.7编码格式问题) 此工具在搜索你想爬的数据匹配的方式就是html标签嵌套的顺序(html介绍在其它随笔内) 首先来聊聊BeautifulSoup的安装pip install python-bs4 包含BeautifulSoup方法...
View ArticlePython 学习之路 (前言)
为什么要学python 1,脚本语言本身很方便简洁,未来会有趋势 2,web 方向 3,运维方向 我是学静态语言出身的,java,毕业后从事android 应用开发,曾在工作期间学习过linux,想从最底层往上走去搞懂android,在这期间,我发现对Linux本身的兴趣超过了对android兴趣,因为在学习Linux的过程中能恶补很多知识,这些知识不是在应用开发能学到的,在android...
View Article把奥修磁力下载站改为python系统
已经一年半载没有写博客了,搞得上来不知道写些什么。 奥修磁力下载- http://www.oshoh.com 现在用的是CENTOS 7 系统,...
View ArticleAstronomer Takes PLOTCON 2016: Why We're Excited
Astronomer Takes PLOTCON 2016: Why We're Excited by Viraj Parekh , on November 15, 2016 I’m in NYC with Ben, our Head of Delivery, to attend PLOTCON 2016, a 4-day conference for data visualization...
View ArticleMost useful built-in functions in Python. Part 1.
most of these built-ins are available in both 2.x and 3.x.We specify explicitly when it is not the case This is the first part of the series on python built-in functions. Here we will present the...
View ArticleHow to Implementing Stacking From Scratch With Python
Ensemble methods are an excellent way to improve predictive performance on your machine learning problems. Stacked Generalization or stacking is an ensemble technique that uses a new model to learn how...
View ArticleI made a python script that converts SVG to React
I made a terrible thing Sunday night. The theme that I bought for the new React Indie Bundle page has decorations built with SVG. You slap them into the page as <svg> tags, and it makes your...
View ArticleRequests 2.12 发布,Python 的 HTTP 客户端库
Requests v2.12 发布了,Requests 是一个 python 的 HTTP 客户端库。 部分更新内容: 更新了对国际化域名 从IDNA2003 到 IDNA2008 的支持。 请求将不再将整个 StringIO 读入内存。 改进了对没有 tell 方法但有 seek 方法的 file-like 对象的容差。 请求现在允许代理凭据中的空密码,而不是取消凭据。 修复了 ALL_PROXY...
View ArticlePython内置函数(59)――sorted
英文文档: sorted ( iterable[, key][, reverse] ) Return a new sorted list from the items in iterable . Has two optional arguments which must be specified as keyword arguments. key specifies a function of...
View Article