Python Programming — Complete Tutorial Hub

9 minute read

Welcome to the Times of Cloud — Python Programming Hub. Whether you’re a beginner starting your programming journey, or an experienced developer looking to master frameworks, data science, machine learning, or prepare for Python certifications, this hub is your one-stop destination.

Python Programming

8 Series 170+ Chapters Core Python + Data Analysis + Tools

Core Python

Tutorial #1 — Python Basics

Level: Beginner Chapters: 29

A comprehensive introduction to Python programming from scratch — syntax, variables, data types, control flow, functions, file handling, and more. Start here if you’re new to Python.

What You’ll Learn

Area Topics
Fundamentals Installation, syntax, variables, data types, operators
Control Flow Conditionals, loops, comprehensions
Data Structures Lists, tuples, dictionaries, sets, strings
Functions Defining functions, arguments, scope, lambda, closures
File I/O Reading/writing files, CSV, JSON
Error Handling Exceptions, try/except, custom exceptions
Modules Importing, standard library, packages, pip
Getting Started Your first program, REPL, IDE setup

Start Python Basics →


Tutorial #2 — Python OOP

Level: Beginner to Intermediate Chapters: 25–30

Master Object-Oriented Programming in Python — classes, objects, inheritance, polymorphism, encapsulation, abstract classes, and design principles.

What You’ll Learn

Area Topics
Classes & Objects Defining classes, constructors, instance methods
Inheritance Single, multiple, multilevel, MRO
Polymorphism Method overriding, duck typing, operator overloading
Encapsulation Public, private, protected, properties
Abstraction Abstract classes, interfaces, ABC module
Design Principles SOLID, composition vs inheritance
Magic Methods __str__, __repr__, __eq__, __hash__, etc.
Patterns Singleton, Factory, Observer, Strategy

Start Python OOP →


Tutorial #3 — Python Advanced

Level: Intermediate to Advanced Chapters: 30–35

Dive deep into advanced Python — decorators, generators, context managers, metaclasses, concurrency, async/await, and CPython internals.

What You’ll Learn

Area Topics
Decorators Function decorators, class decorators, functools.wraps
Generators yield, generator expressions, itertools
Context Managers with statement, contextlib, custom managers
Metaclasses type(), __new__, __init_subclass__, descriptors
Concurrency Threading, multiprocessing, asyncio, GIL
Memory Garbage collection, weak references, slots
Typing Type hints, generics, Protocol, TypeVar
Internals CPython, bytecode, dis module, optimization

Start Python Advanced →


Tutorial #4 — Data Structures & Algorithms

Level: Intermediate Chapters: 35–40

Master data structures and algorithms in Python — arrays, linked lists, trees, graphs, sorting, searching, dynamic programming, and coding interview preparation.

What You’ll Learn

Area Topics
Linear Structures Arrays, linked lists, stacks, queues, deques
Hashing Hash tables, dictionaries, sets, collision handling
Trees Binary trees, BST, AVL, heaps, tries
Graphs BFS, DFS, Dijkstra, topological sort, MST
Sorting Bubble, merge, quick, heap, radix, Tim sort
Searching Binary search, two pointers, sliding window
Dynamic Programming Memoization, tabulation, common DP patterns
Interview Prep Big-O analysis, problem-solving strategies

Start DSA in Python →


Python for Data Analysis

Tutorial #5 — NumPy

Level: Intermediate Chapters: 15 Lessons: ~112

Master NumPy — the foundational library for numerical computing in Python and the substrate for Pandas, scikit-learn, PyTorch, and the entire data-science stack. Learn n-dimensional arrays, vectorization, broadcasting, linear algebra, and how to write code that runs 10×–100× faster than plain Python loops.

What You’ll Learn

Area Topics
ndarray Fundamentals Shape, ndim, axes, dtype, strides, views vs copies
Array Creation np.array, zeros, ones, arange, linspace, eye, random
Indexing & Slicing Basic, multi-D, fancy indexing, boolean masking, np.where
Vectorization Element-wise ops, ufuncs, broadcasting rules
Linear Algebra dot, @, inverse, determinant, eigenvalues, SVD, solve
Statistics mean, std, var, percentile, histogram, correlation, NaN-safe
Sorting & Searching sort, argsort, lexsort, searchsorted, unique, set ops
File I/O .npy, .npz, CSV, memory-mapped arrays, Pandas interop
Performance Vectorization patterns, einsum, Numba, profiling
Practice Image processing, stock returns, linear regression, Monte Carlo

Prerequisites: Python Basics (functions, lists, loops)

Start NumPy →


Tutorial #6 — Pandas

Level: Intermediate Chapters: 17 Lessons: 120

Master Pandas — the standard library for data analysis in Python. Learn Series and DataFrame, I/O for every common format (CSV, Excel, JSON, SQL, Parquet), label-based and positional indexing, filtering and queries, GroupBy and pivots, joins, time series, MultiIndex, performance tuning, and visualization. Closes with four end-to-end practice projects.

What You’ll Learn

Area Topics
Foundations Series, DataFrame, Index, dtypes, ecosystem
Data I/O read_csv, read_excel, read_json, read_sql, Parquet, Feather
Indexing & Selection loc, iloc, at, iat, column patterns, SettingWithCopyWarning
Filtering & Queries Boolean masks, query, where, mask, isin, between
Sorting & Ranking sort_values, sort_index, rank, nlargest, nsmallest
Missing Data Detection, dropna, fillna, interpolate, strategies
Dtypes & Accessors astype, category, nullable dtypes, .str, .dt
Apply & Vectorized map, apply, transform, pipe, vectorization, eval/query
GroupBy & Aggregation groupby, agg, transform, filter, pivot_table, crosstab
Merge / Join / Concat inner/outer/left/right, multi-key joins, concat, combine_first
Time Series to_datetime, date_range, resampling, rolling, expanding
MultiIndex Hierarchical indexes, stack/unstack, swaplevel, sortlevel
Performance dtypes, downcasting, chunking, eval/query, Dask
Visualization df.plot, plot types, scatter/hexbin, styling, plotting tools
Projects Sales analysis, COVID data, stock returns, employee data cleaning

Prerequisites: Python Basics, NumPy fundamentals (recommended)

Start Pandas →


Tutorial #7 — Matplotlib

Level: Intermediate Chapters: 12 Lessons: ~85

Master Matplotlib — the foundational plotting library in Python. Built around the clean Figure → Axes → Artist architecture and the professional object-oriented API (fig, ax = plt.subplots()). Covers every standard chart type, full customization with rcParams and house styles, multi-panel layouts via GridSpec and subplot_mosaic, annotations with LaTeX math, and six end-to-end practice projects from sales dashboards to animated GIFs and 3D surfaces.

What You’ll Learn

Area Topics
Foundations History, Figure/Axes/Artist, pyplot vs OO API, alternatives
pyplot Basics plt.plot, plt.show, plt.savefig, state machine, Jupyter
Figure & Axes fig, ax = plt.subplots(), properties, axes methods, twin axes
Line Plots Basic & multi-line, styles, markers, colors, fill_between
Bar Charts bar, barh, grouped, stacked, value labels, error bars
Scatter Plots scatter, color mapping, bubble charts, colorbar, overplotting
Histograms hist, bins & density, cumulative, 2D histograms, hexbin
Pie & Area pie, donuts, fill_between, stackplot, chart selection
Customization Titles, ticks, legend, styles, rcParams, colors, colormaps
Subplots & Layouts subplots, shared axes, GridSpec, twinx, inset axes, tight layout
Annotations ax.text, ax.annotate, coordinate systems, LaTeX, watermarks
Projects Sales dashboard, publication figure, animated line, 3D plot, house style

Prerequisites: Python Basics, NumPy fundamentals, basic Pandas (recommended)

Start Matplotlib →


Tutorial #8 — Seaborn

Level: Intermediate Chapters: 12 Lessons: ~85

Master Seaborn — the high-level statistical visualization library built on top of Matplotlib. Speaks DataFrame natively, comes with sensible defaults, and turns common statistical charts — histograms, KDEs, box plots, regression lines, correlation heatmaps, facet grids — into one-line calls. Covers both API tiers (axes-level sns.scatterplot and figure-level sns.relplot/displot/catplot), every standard chart type, multi-panel grids (FacetGrid, PairGrid, JointGrid), full theme and palette control, composition with raw Matplotlib, and four end-to-end practice projects from EDA dashboards to branded reports.

What You’ll Learn

Area Topics
Foundations What Seaborn is, vs Matplotlib, installation, first chart
Datasets & Themes load_dataset, set_theme, set_context, palette tour
Two API Tiers Axes-level vs figure-level, which-function map, sizing rules
Relational Plots scatterplot, lineplot, relplot, hue/size/style
Distribution Plots histplot, kdeplot, ecdfplot, rugplot, displot
Categorical Plots boxplot, violinplot, stripplot, swarmplot, barplot, catplot
Regression Plots regplot, lmplot, polynomial / logistic / robust fits, residplot
Matrix Plots heatmap, correlation matrices, masking, annotations, clustermap
Multi-plot Grids FacetGrid, PairGrid, pairplot, JointGrid, jointplot
Styling & Palettes Themes, contexts, qualitative/sequential/diverging/custom palettes
Composition ax= argument, subplots, gridspec, annotations, twin axes
Projects Penguins EDA dashboard, Tips insights story, branded heatmap report, Iris classification visuals

Prerequisites: Python Basics, Pandas fundamentals, basic Matplotlib

Start Seaborn →


Tutorial #9 — Plotly

Level: Intermediate Chapters: 12 Lessons: ~85

Master Plotly — the interactive, browser-native visualization library that turns Pandas DataFrames into pan-zoom-hover-ready charts in two lines and scales all the way to production dashboards. Covers both API tiers (high-level plotly.express for fast exploration and low-level plotly.graph_objects for pixel-perfect control), every common chart type (line, bar, scatter, histogram, box, violin, density, 3D, choropleth, mapbox, candlestick), advanced layout with make_subplots, full theme/template/colorscale control, interactivity primitives (dropdowns, sliders, animation frames, range selectors), the Dash framework for multi-page Python web apps, HTML/PNG/PDF export with kaleido, and four end-to-end practice projects.

What You’ll Learn

Area Topics
Foundations What Plotly is, vs Matplotlib/Seaborn/Bokeh, installation, first chart
Plotly Express Function family, common parameters, datasets, faceting, trendlines
Graph Objects Figure anatomy, trace types, update methods, hover templates, Express → GO
Basic Charts Line, scatter, bar, time-series
Statistical Charts Histograms, box, violin, ECDF, density
3D, Maps & Geo 3D scatter/surface, choropleths, Mapbox, custom GeoJSON
Subplots & Layouts make_subplots, shared axes, mixed subplots, dual y-axis
Themes & Customization Templates, color scales, typography, layout polish, branded templates
Interactivity & Animation updatemenus, sliders, animation_frame, range selectors
Dash Intro What is Dash, first app, callbacks, layouts, Dash Bootstrap Components
Export & Embedding HTML, PNG/SVG (kaleido), Jupyter, Streamlit, Jekyll
Projects Sales dashboard, COVID tracker, stock explorer, branded choropleth report

Prerequisites: Python Basics, Pandas fundamentals, basic Matplotlib or Seaborn

Start Plotly →


Tutorial #10 — Jupyter Notebook

Level: Beginner to Intermediate Chapters: 9 Lessons: ~63

Master Jupyter Notebook and JupyterLab — the de-facto cockpit for Python data science. Learn the notebook document model (code, markdown, raw cells), the JupyterLab interface, kernels and virtual environments, IPython magic commands, rich output rendering for Pandas / Matplotlib / Seaborn / Plotly, interactive widgets with ipywidgets, sharing notebooks via nbconvert / Voilà / nbviewer / Binder / Papermill, and the reproducibility and version-control best practices that keep notebooks maintainable in real projects.

What You’ll Learn

Area Topics
Foundations What is Jupyter, Notebook vs JupyterLab, Jupyter in data science, cloud options
Installation & Setup Installing JupyterLab, launching, kernels & environments, extensions
Notebook Interface Command vs Edit mode, keyboard shortcuts, cell toolbar, menus & sidebar
Cell Types Code, Markdown, raw cells, cell output types, execution order
Magic Commands Line magics, %timeit/%time, cell magics, bash & system, custom magics
Data & Visualization Pandas / Matplotlib / Seaborn / Plotly in Jupyter, rich output
Widgets & Interactivity @interact, widget types, layout, callbacks, interactive output
nbconvert & Sharing HTML/PDF, slides, Voilà, nbviewer, Binder, Papermill
Best Practices Notebook structure, execution-order pitfalls, version control, reproducibility

Prerequisites: Python Basics (functions, lists, dicts). No prior Jupyter experience required.

Start Jupyter Notebook →


Tutorial #11 — Data Visualization with Python

Level: Intermediate Chapters: 10 Lessons: ~70

A comparative playbook for data visualization in Python — not a one-library guide. Covers the full landscape (Matplotlib, Seaborn, Plotly, Altair, Bokeh, Dash, Streamlit, Panel, Datashader) and teaches you which tool to reach for, when, and why. Chart selection by data shape, deep dives into Matplotlib / Seaborn / Plotly, big-data visualization patterns for millions of points, dashboard frameworks side-by-side, the design and accessibility principles (Tufte, color theory, WCAG, Gestalt) that separate great charts from bad ones, and four end-to-end practice projects.

What You’ll Learn

Area Topics
Foundations Why visualize data, chart-type taxonomy, what makes great visualizations
Library Landscape Matplotlib & Seaborn, Plotly & Bokeh, Altair & Plotnine, Dash/Streamlit/Panel, decision guide
Chart Selection Comparison, distribution, relationship, composition, time-series & geo
Matplotlib Deep Dive Figure anatomy, chart types, styling, annotations, publication-quality figures
Seaborn Deep Dive Figure vs axes-level, distribution / relationship / categorical / matrix plots
Plotly Deep Dive Express reference, graph objects, subplots, animations, Altair intro
Big Data Viz The overplotting problem, Datashader, HoloViews, Bokeh streaming, alternatives
Dashboard Design Plotly Dash, callbacks, Streamlit, Panel, framework comparison
Design & Accessibility Data-ink ratio, color theory, WCAG, typography, Gestalt principles
Practice Projects COVID dashboard, stock-price explorer, e-commerce report, ML explainability

Prerequisites: Python + Pandas + basic Matplotlib (you’ve made a few charts before).

Start Data Visualization →



Learning Path

Your Goal Recommended Path
I’m brand new to programming Python Basics (start here)
I want to master Python in-depth Basics → OOP → Advanced
I want to crack coding interviews Basics → OOP → DSA

More Tutorials Coming Soon

We are actively working on tutorials for web frameworks (Django, Flask, FastAPI), data science, machine learning, automation, testing, and Python certifications. Stay tuned!

Updated: