Automate the Boring Stuff with Python – Book Review

I am new to Python, and I wanted to read an easy book, that would give me a hight level overview of the language and what I can do with it. Automate the Boring Stuff with Python by Al Sweigart was … Read more

Similar

Python year in review 2016

From moving to GitHub to the release of Python 3.6.0, 2016 has been an interesting year for the Python programming language. We had some uplifting moments like K Lars John’s keynote at Pycon and some…...

Read more »

Python: default argument blunders

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 »