Volume 1 · Beginner · Completely free

Python Programming in Easy Urdu For complete beginners, one step at a time

Never written a program? That's fine. The book starts with "what is a program, anyway?" and by the last chapter you've built a small app of your own that saves its data to a file. It's all in plain, everyday Urdu, and it's free.

Cover of Python Programming in Easy Urdu, Volume 1
12chapters
700+small examples
500+exercises
0cost, not a penny
Who is this book for?

Anyone who is new to computers

You don't need good English and you won't be buried in jargon. If you want to learn, that's enough.

🎒

Students

Taking their very first step into programming.

🌱

Complete beginners

People who have never written a program and don't know where to begin.

👨‍👩‍👧

Parents and teachers

Who want to teach children computing in their own language.

💡

Curious learners

Anyone who was held back by English but still wants to learn.

Why this book?

Language shouldn't stand between you and learning

Plenty of people start learning to code and give up in the first week. Usually it's not because the ideas are hard. It's because every book and every video is in English. So this one is in Urdu.

  • Simple words: everything is explained the way a friend sitting next to you would explain it.
  • Everyday life first, code second: each new idea starts with something familiar, like making tea, taking an umbrella when it rains, or a shopping list. Then comes the code.
  • One new thing per example: the examples are short, and you can type each one in and run it yourself.
  • Lots of exercises after every chapter: from easy to tricky, with answers.
  • Starts from zero: even installing Python on Windows is covered step by step.
مثال: نمبر کسی حد کے اندر ہے؟
An example from chapter 4: the program asks for your age (umar) and tells you whether you're a teenager.
umar = int(input("Umar: "))
if umar >= 13 and umar <= 19:
    print("Aap teenager hain")
else:
    print("Aap teenager nahi hain")
OutputUmar: 16
Aap teenager hain
What's inside?

Twelve chapters, start to finish

Each chapter goes one step further than the last. In the final two you put it all together and build a real app.

✦

Preface

Why the book was written, who it's for, and how to read it.

پیش لفظ
1

Introduction to programming

What computers and programs are, and why Python.

پائتھن پروگرامنگ کا تعارف
2

Installing Python on Windows

Set Python up on your computer and run your first program.

ونڈوز میں پائتھن انسٹال کرنا
3

Variables

Like labelled jars in a kitchen: keeping things under a name.

ویری ایبل
4

Conditions

"If this, do that, otherwise something else." Teaching the computer to decide.

if · elif · else
5

Loops

Doing the same thing many times without writing it many times.

for · while
6

Switch case

Like the buttons in a lift: picking one path out of many.

match · case
7

Data types

Numbers, text, true and false. Everything has a type.

ڈیٹا کی قسمیں
8

Data structures

Lists, tuples, sets and dictionaries: handling lots of things at once.

list · tuple · set · dict
9

Functions

Write the recipe once, then use it as often as you like.

فنکشن
10

Working with files

Reading and writing files, and getting to know CSV and JSON.

File I/O · csv · json
11

Project: student records Project

A complete app that adds, shows, edits and deletes student records, saved in a CSV file.

CRUD app with CSV
12

Same app, new file Project

The same student records app, now storing its data in JSON.

The same app with JSON
✦

Farewell

What you've learned, what to learn next, and a peek at Volume 2.

الوداع
Easy to follow

Every page shows you the way

The book uses coloured boxes so you can tell at a glance what you're reading.

Example (مثال)

A short piece of code, what it prints, and an explanation of what happened.

Remember (یاد رکھیں)

The important points and the common mistakes to watch out for.

Exercise (عملی مشق)

Learn by doing: from easy questions up to challenges, with answers at the end.

Free and open source

This book belongs to everyone

Knowledge grows when you share it, so this book is completely free. There's no price, no sign-up and no catch. The full source of the book is on GitHub, where anyone can read it, use it and help make it better.

Coming soon

Volume 2: Intermediate

The second volume is being written now. It picks up exactly where Volume 1 ends and keeps the same style: plain language, lots of examples and plenty of exercises. It will be free too.

Common questions

Your questions

Is the book really free?

Yes, the whole book is free. It's open source, which means its source is open to everyone. Download it, print it and share it with anyone you like.

Do I need to know computers or English first?

No. The book starts from the very beginning. The few English words in the code, like print or if, are explained the first time they appear.

Is the book in English?

No, the book itself is written in Urdu. Only the code is in English letters, because that's what Python understands.

What do I need?

A Windows computer and a little time. Python is free as well, and chapter 2 shows you how to install it step by step.

Are there answers to the exercises?

Yes. Most chapters include the answers at the end, so you can check your own work.

I found a mistake. Where do I report it?

Open an issue on GitHub and mention the volume, chapter and section number. Your help makes the book better for everyone.

Write your first program today

Python Programming in Easy Urdu, Volume 1. Twelve chapters, hundreds of examples, plenty of exercises, and all of it free.