Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Python for Beginners

A structured, chapter-by-chapter guide to core Python — from your first script to object-oriented programming.

Python Chapters Format Status

Companion guide to Linux for Beginners.

Overview

This repository contains eleven self-contained PDF chapters covering core Python fundamentals — installation, sets and dictionaries, object-oriented programming, file handling, functions, and more. Each chapter includes syntax-highlighted code examples, callouts for common gotchas, worked example questions, and a checklist to self-test before moving on.

Contents

# Chapter Topics covered
01 Overview of Python The language, the ecosystem, running your first script
02 Sets and Dictionaries Unique collections and key–value lookups
03 Object-Oriented Concepts Classes, inheritance, encapsulation, polymorphism
04 Libraries and Modules The standard library, imports, module search path
05 File Handling Reading, writing, and safely closing files
06 Functions Parameters, lambdas, scope, return values
07 Strings Command-line arguments and string operations
08 Variables & Numeric Types Variables, operands, expressions, operators
09 Conditional & Control Statements if/elif/else, for and while loops
10 Tuples and Lists Mutable vs. immutable sequences, comprehensions
11 Errors and Exception Handling try/except/finally, raising custom errors

What Each Chapter Includes

  • Plain-language concept explanations
  • Annotated, syntax-highlighted code examples
  • Worked example questions with answers
  • An end-of-chapter checklist to self-test

How to Use This Guide

The chapters are self-contained — read them in order if you're starting from scratch, or jump directly to whichever topic you need.

Author

Ashik A GitHub: @ashihh07

If this guide helped you, consider starring the repository.

About

11-chapter beginner guide to core Python — from installation through OOP, file handling, and exceptions. Each chapter is a designed PDF with code examples, example Q&A, and a checklist.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors