Python – lists, dicts, tuples, files, sets, type & class types

This post is the fifth of many that attempts to document everything I have been learning about Python. Lists Lists are mutable (objects that can be changed in place) sequences in Python. They are a collection of arbitrary objects ordered by position. Lists can contain objects of any type and do not have a fixed size. You… Continue reading Python – lists, dicts, tuples, files, sets, type & class types

Python – Numbers & Strings

This post is the fourth of many that attempts to document everything I have been learning about Python. Python is dynamically typed, there are no type declarations. It keeps track of types for you and is a strongly typed language. Types are created when expressions are evaluated. Only operations valid on a type can be performed… Continue reading Python – Numbers & Strings