Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.72 KB

File metadata and controls

40 lines (23 loc) · 1.72 KB

Python basics

This site is aimed at learning or recalling the basics of Python, a high-level programming language suitable for data analytics and data science work.

You can run Python 3.8 or newer versions to run the code in the examples.

Text and tutorials are kept concised to facilitate easy reading. You can refer to the official tutorial otherwise for more comprehensive stuff relating to Python.

List of contents

Contents are separated into two sections:

Basics

These are the basic concepts you'll need to write Python programs

  1. What is Python?
  2. IDEs and Code Editors
  3. Variables and Data Types
  4. Strings, Numbers, Booleans
  5. Lists, Tuples, Dictionaries
  6. if, elif, else
  7. for and while Loops
  8. Functions
  9. Classes
  10. [Exception Handling]
  11. [Files and I/O]

Advanced


Reference source

Materials were adapted from various sources including Kaggle, an online site on Python and the book: Matthes, E. (2019). Python Crash Course (2nd ed.). No Starch Press.