The Mindful Coder

Zen | Minimalism | Kaizen | Philosophy

Learning Python Part 3

Using lists we organize and categorize ourselves and the environment around us. In Python lists are essentially a container of sequenced objects that are alike in nature. You are not restricted to having lists of only a single data type, however it is often not seen as very intuitive to use different types in a list. Lists like strings are a sequence type which really means that we can use an index to access the data, we’ll have a look at slicing which is a feature of sequence types, allowing us to get portions of data instead of a singular item.

Learning Python Part 2

Strings are at the heart of many programs. We asks our users for information that our code requires to do the task. We provide feedback to the users when the task has completed or failed. We share information with other systems. This is almost always done using strings and string manipulation. In part 2 we are going to look at how we use strings. How we can change these strings using the Python library.

Learning Python Part 1

Let’s begin with some information regarding Python. It has been around since 1991, that is an impressive 26 years. It is an open source language driven by the community and managed by the Python Software Foundation. Python focuses on readability and features multiple programming paradigms. So whether you are completely new to programming, come from an object orientated background or even feel more comfortable with a functional approach, Python has you covered.