Code Challenge 08 - House Inventory Tracker - Review

Posted by PyBites on Sun 05 March 2017 in Challenges • Tagged with codechallenges, code review, learning, inventory, Flask, APIs, data structures • 3 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

5 tips to speed up your Python code

Posted by Bob on Tue 21 February 2017 in Best practices • Tagged with performance, data structures, pythonic, generators, map, builtin, algorithms, regex, patterns • 5 min read

In this post I will give you 5 tips to speed up your code.


Continue reading

How to Order Dict Output in Python

Posted by Julian on Thu 16 February 2017 in Tips • Tagged with python, tips, tricks, code, pybites, dicts, data structures • 6 min read

Learn how to order the output of a Python Dict


Continue reading

A great book that makes algorithms accessible

Posted by Bob on Tue 03 January 2017 in Books • Tagged with algorithms, data structures, performance, collections • 3 min read

I finished reading Grokking Algorithms, it's a very accessible resource for learning algorithms / data structures, highly recommended.


Continue reading

Read the stdlib: deque

Posted by Bob on Wed 21 December 2016 in Data • Tagged with collections, data structures, performance, stdlib, deque • 2 min read

Use collections.deque to rotate letters in string (or elements in list). It has a native method which performs faster too.


Continue reading