Overview The goal of this article is to write a short introduction to IPython. While IPython has two main components (an interactive Python Shell and … [Read more...] about IPython a short introduction
Basics
Our Python Basics articles cover everything for the beginning programmer. If you are just starting to learn python, this is a great place to start. We cover setting up your environment to every facet of python functionality. You will find plenty to learn from in this section.
Keywords in Python
What are keywords? Keywords in Python are reserved words that cannot be used as ordinaryidentifiers. They must be spelled exactly as they are … [Read more...] about Keywords in Python
Python If…Elif…Else Statement
What are Conditions? Conditions tests if a something is True or False, and it uses Boolean values (type bool) to check that. You see that … [Read more...] about Python If…Elif…Else Statement
How to Use Python virtualenv
While programming, we sometimes make errors that can make undesirable changes to our system. To avoid this, we often use virtual environments. In this … [Read more...] about How to Use Python virtualenv
Python Operators
Arithmetic Operators Python includes the +, -, *, /, % (modulus), and ** (exponentiation) operators Assume variable a holds 10 and variable b holds … [Read more...] about Python Operators
Python Setup
Python is free and open source, available for all operating systems from python.org. If not already installed, this article will help you with your … [Read more...] about Python Setup
Using the Platform module in Python
What is it used for? The platform module in Python is used to access the underlying platform’s data, such as, hardware, operating system, and … [Read more...] about Using the Platform module in Python
Python Docstrings
What is a Docstring? Python documentation strings (or docstrings) provide a convenient way of associating documentation with Python modules, … [Read more...] about Python Docstrings
Download and Install Python
Overview Python is a interpreted language which means that the code is translated (interpreted) to binary code while the program runs. That is … [Read more...] about Download and Install Python
Lists
What is a List? The simplest data structure in Python and is used to store a list of values. Lists are collections of items (strings, integers, or … [Read more...] about Lists