A few minutes ago a friend sent me the following code, and told me its misbehaving: def foo(l=[]): l.append("hello!") print(l) foo() foo() Instead of printing ["hello"] twice, it printed ["hello", "hello"]. Any ideas why? what's going on? I'll... (more…)
Read more »
Nearly 7 years ago, Soroco sought out to finalize on a programming language, as it started designing and developing its automation and process discovery products. In this post, we will describe why Soroco chose Python and what we did to ensure reliable an... (more…)
Read more »
For the next part of my blog series on pulling apart Python's syntactic sugar, I'm going to be tackling rich comparison operators: ==, !=, >, <, >=, <=. For this post I am going to be picking apart the example of a > b. ... (more…)
Read more »
Python library which implements the Moneysocket protocol - GitHub - moneysocket/py-moneysocket: Python library which implements the Moneysocket protocol... (more…)
Read more »
A few months ago I released cutlet, a Python library and application for converting arbitrary Japanese text to romaji. (more…)
Read more »