Module of the Week - ipaddress

Posted by Julian on Thu 23 March 2017 in Modules • Tagged with python, tips, code, pybites, ipaddress, sysadmin, stdlib • 3 min read

While playing around with code for our post on generators we discovered the ipaddress module, part of the Standard Library. Such a handy little module!


Continue reading

Twitter digest 2017 week 11

Posted by PyBites on Sun 19 March 2017 in Digest • Tagged with twitter, news, pypi, Django, Flask, Pandas, cheat sheet, stdlib, APIs, tips, raspberry pi, json, pygame, tutorials • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

Twitter digest 2017 week 10

Posted by PyBites on Sun 12 March 2017 in Digest • Tagged with twitter, news, podcasts, pypi, productivity, Django, Fire, Anaconda, cheat sheet, stdlib, CPython, microservices, APIs, tips • 2 min read

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


Continue reading

Comparing Lists with Difflib

Posted by Julian on Wed 08 March 2017 in Learning • Tagged with python, learning, beginners, stdlib, tips, cleancode, bestpractices, pythonic • 3 min read

Learn to compare blocks of text with the difflib module.


Continue reading

Twitter digest 2017 week 08

Posted by PyBites on Sat 25 February 2017 in Digest • Tagged with twitter, news, podcasts, Guido, namedtuples, tips, books, stdlib, data • 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

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