Code Challenge 09 - The With Statement and Context Managers - Review

Posted by PyBites on Sat 11 March 2017 in Challenges • Tagged with codechallenges, code review, learning, with, contextmanagers, Paramiko, pytest • 2 min read

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Code Challenge 09 - The With Statement and Context Managers

Posted by PyBites on Mon 06 March 2017 in Challenges • Tagged with codechallenges, learning, with, contextlib, contextmanagers, decorators, generators • 1 min read

A new week, more coding! This week we have a free form exercise. This week you will implement your own Context Manager (= support with on your object).


Continue reading

Twitter digest 2017 week 09

Posted by PyBites on Sat 04 March 2017 in Digest • Tagged with twitter, news, podcasts, contextmanagers, 3.6, pypi, training, tuples, pydata, testing, zen, pyfun • 2 min read

On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.


Continue reading

Beautiful, idiomatic Python

Posted by Bob on Tue 10 January 2017 in Best practices • Tagged with pythonic, cleancode, collections, 2vs3, namedtuples, decorators, contextmanagers • 2 min read

Transforming Code into Beautiful, Idiomatic Python is a must-watch to write more Pythonic code. In this post some highlights.


Continue reading