Tutorial — سبق
Welcome to the official Urdu Programming Language tutorial. Whether you have never written a line of code or you are an experienced developer, this tutorial takes you from the very beginning to building real web apps, GUIs, and data pipelines — all in Urdu.
اردو: اردو پروگرامنگ لینگویج کی سرکاری ٹیوٹوریل میں خوش آمدید۔ چاہے آپ نے کبھی کوڈ نہ لکھا ہو یا پیشہ ور ڈویلپر ہوں، یہ ٹیوٹوریل آپ کو بالکل ابتدا سے حقیقی ایپلیکیشنز بنانے تک لے جائے گی۔
How to Use This Tutorial — کیسے استعمال کریں
Each page follows the same format:
- Concept — explained in English, then in Urdu
- Verified code examples — every snippet was tested and the expected output is shown
- Key points — quick recap at the end of each page
- ← Previous / Next → — sequential navigation
اردو: ہر صفحہ: تصور (انگریزی + اردو) ← جانچی گئی کوڈ مثالیں ← اہم نکات ← اگلا/پچھلا لنک۔
Part 1 — Beginner — مبتدی
No prior experience required — پہلے سے کوئی تجربہ ضروری نہیں
| # | Page | Topics |
|---|---|---|
| 1 | Welcome & Overview | What Urdu PL is, what you can build with it |
| 2 | Installation | Install the exe or set up Python source |
| 3 | Hello World | Your first program, running it, understanding every character |
| 4 | Variables | متغیر, مستقل, naming rules, reassignment |
| 5 | Data Types | Numbers, decimals, strings, booleans, null |
| 6 | Input & Output | لکھو, پڑھو, template strings |
| 7 | Strings | String literals, methods, concatenation, templates |
| 8 | Arithmetic Operators | +, -, *, /, %, **, // |
| 9 | Comparison & Logical Operators | ==, !=, <, >, &&, \|\|, ! |
| 10 | If / Else | اگر, ورنہ_اگر, ورنہ, ternary |
| 11 | Switch / Case | منتخب, صورت, بصورت_دیگر, fall-through |
| 12 | While Loop | جبکہ, کرو...جبکہ, infinite loops |
| 13 | For Loop | کے_لیے...کا, کے_لیے...میں, حد(), گنو() |
| 14 | Break & Continue | ٹوٹنا, جاری, labeled statements |
| 15 | Functions Basics | فنکشن, parameters, واپس, calling functions |
Part 2 — Intermediate — درمیانہ
Assumes you completed Part 1 — فرض: حصہ اول مکمل
| # | Page | Topics |
|---|---|---|
| 1 | Advanced Functions | Default params, rest params, closures, higher-order |
| 2 | Arrays in Depth | Creation, indexing, built-in array functions |
| 3 | Objects in Depth | Key-value pairs, access, Object.* helpers |
| 4 | Array Methods | نقشہ, فلٹر, ترتیب, ریورس, مجموع |
| 5 | String Methods | .چھاٹو(), .بدلو(), .شامل_ہے(), ربط(), تقسیم() and more |
| 6 | Classes & OOP | کلاس, تعمیر, یہ, نیا, instance methods |
| 7 | Inheritance | توسیع, سپر, method overriding, نمونہ() |
| 8 | Error Handling | کوشش, پکڑو, آخر, پھینکو, error types |
| 9 | Modules & Imports | درآمد, سے, بطور, برآمد, اردو/* |
| 10 | File Operations | اردو/فائلیں — text, CSV, Excel, ZIP |
| 11 | Date & Time | اردو/تاریخ — تاریخ, وقت, مدت, ہجری |
| 12 | Math Built-ins | مطلق, گول, طاقت, math module |
| 13 | Working with JSON | JSON_لکھو, JSON_پڑھو, nested data |
| 14 | Type Conversion | عدد, اعشاریہ, متن, بولین, قسم |
| 15 | Threading | اردو/دھاگہ — threads, pools, async runner |
Part 3 — Advanced — ماہر
Real-world application development — حقیقی دنیا کی ایپلیکیشن ڈویلپمنٹ
| # | Page | Topics |
|---|---|---|
| 1 | Data Structures | Linked list, Stack, Queue, Deque, Priority Queue, BST, Graph (BFS/DFS/Dijkstra) |
| 2 | Algorithms | 6 sort algos, Binary search, Hash table, GCD/LCM, Fibonacci, Primes, Edit distance, KMP |
| 3 | HTTP Client | اردو/کرل — GET/POST/PUT/PATCH/DELETE, Auth (Bearer/Basic/API key), file upload/download |
| 4 | Cryptography | اردو/رمز — SHA-256, AES, RSA, bcrypt passwords, secure random, Base64 |
| 5 | Databases | اردو/ڈیٹابیس — SQLite, MySQL, PostgreSQL, MongoDB, transactions |
| 6 | GUI Applications | اردو/گوئی — Window, Layout, Button, Input, Table, Canvas, Dialogs, Bootstrap styles |
| 7 | Web Framework | FastAPI (REST + Router + JWT), Flask (Blueprints), Django (ORM + routes), Socket.IO |
| 8 | Machine Learning | اردو/ذہین — NumPy, Pandas, Classification, Regression, Neural Networks (Keras), LLM |
| 9 | Text Processing | اردو/متن — Regex, Urdu digits, number words, script normalisation, word tokeniser |
| 10 | Web Scraping | اردو/کھرچنی — HTML parsing, CSS selectors, URL fetch, element navigation |