When should I use a Python tuple?

Posted on Fri 23 December 2016 in Python • Tagged with python, collections, list, tuple

Have you ever wondered when to use a tuple instead of a list? Why is a tuple useful?


Continue reading

Use ptipython, a better Python shell

Posted on Wed 21 December 2016 in Python • Tagged with python, django

Most Python developers use a shell, or REPL (Read-Evaluate-Print-Loop) to quickly try out small bits of code and also for quick and dirty debugging. Did you know there are other options apart from the default Python shell?


Continue reading