Python

Table of Contents

Python can be used to automate mundane tasks. Learn how to use Python, a clear and powerful scripting language with object-oriented features.



  1. Introduction, Setup and Fundamentals
  2. Learn what Python is, what it's used for, and how to set it up on your machine.

    1. Introduction: What is Python?
    2. Learn the history of Python and get introduced to the programming language.


    3. Installing and Python Setup
    4. Learn where to download Python, which version to choose and how to set things up on your Mac OS X, Windows or Linux operating system.


    5. Finding Help
    6. Need help with Python functions? No need to search online - you can find almost everything you need on the Python interpreter!


    7. Expressions and Variables
    8. Learn how to execute mathematical expressions as well as assign variables in Python.


    9. Function and Methods calls
    10. Learn about function and method calls, the backbone of Python programming.



  3. Primitive Data Types
  4. Learn about Python's primitive data types includes booleans, numbers (int, float) and strings, along with their methods.

    1. Booleans
    2. Learn about the boolean data types of Python - True and False.


    3. Numbers
    4. Learn about Python numbers like floats and ints.


    5. Strings
    6. Learn about Python strings along with their corresponding functions.


    7. String functions
    8. Find out the functions and methods that can be used for the string data type.



  5. Namespaces, Functions and Modules
  6. Learn about names, namespaces, how to declare and use functions and how to import modules.

    1. Names and Namespaces
    2. Learn about Python names, namespaces and how to easily assign names.


    3. Declaring Functions
    4. Learn how to declare your and use your own custom functions, along with declaring assertions.


    5. Modules
    6. Learn about how to create your own custom modules, how to import them from online and learn about two common modules - os, and random.



  7. Collections
  8. Learn about Python's built-in collections that include sets, sequences and mappings. We'll go over lists, sequences, sets, streams, tuples, dictionaries and generators.

    1. Introduction to Collections
    2. Learn about the special data types in python - collections - that can help you store multiple data types.


    3. Sets
    4. Learn about Python sets, which are unordered collection of items with no duplicates. Find out what a frozen set is and also all the functions that go along with sets.


    5. Sequences
    6. Learn how to use Python sequences.


    7. Ranges, Tuples and Lists
    8. Learn about ranges, tuples and lists, and their corresponding functions, all part of Python's sequence collection.


    9. Mappings: Dictionaries
    10. Learn about the last collection type in Python: mappings. Often, programmers use dictionaries as associative arrays, lookup tables and hash tables.



  9. Control Flow
  10. Learn how to handle control flow in Python including if-elif-else statements, for-loops, while-loops, continue/break statements and more.

    1. If statements
    2. Learn how to use control flows for if statements.


    3. For and while loops
    4. Learn how to use for and while loops in Python, along with ranges.