Python Basics#

Core language fundamentals: variables, types, strings, lists, dictionaries, file I/O, control flow, and parallel processing.

Page

Description

Variables & Operators

Data types, assignments, arithmetic and logical operators

Numbers

Numeric types, conversions, math functions and constants

Strings

String operations, slicing, formatting, f-strings, wildcards

Lists

List manipulation, iteration, filtering with fnmatch

Dictionaries

Key-value pairs, methods, iteration patterns

Input/Output Files

os, shutil, zipfile, glob modules for file operations

Statements

Control flow (if/for/while), functions, imports, exceptions

Module Installation

Installing Python packages: pip, git, wheels, proxy setup

Multiprocessing

Parallel processing with Pool on multiple cores