Skip to content

Commit fb8c106

Browse files
committed
Updated Readme file
1 parent 5a06a48 commit fb8c106

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

README.md

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
55

66
📘 Each section builds on the previous one, so you can follow along in order or jump straight into the topic you need.
77

8-
---
8+
99

1010
## 🧱 [Section 1: Fundamentals](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_1_fundamentals)
1111

@@ -19,7 +19,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
1919
- 💬 **Comments** – Add notes and explanations inside your code.
2020
- 🔁 **Type conversion** – Convert between types like strings, integers, and floats.
2121

22-
---
22+
2323

2424
## 🔣 [Section 2: Operators](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_2_operators)
2525

@@ -30,7 +30,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
3030
- 🔍 **Comparison operators** – Compare two values (`==`, `!=`, `<`, `>`, etc.)
3131
- 🧠 **Logical operators** – Combine conditions (`and`, `or`, `not`)
3232

33-
---
33+
3434

3535
## 🔄 [Section 3: Control Flow](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_3_controlflow)
3636

@@ -44,7 +44,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
4444
- ⏭️ **continue** – Skip current iteration and continue looping.
4545
- 🪟 **pass** – Placeholder when no action is needed.
4646

47-
---
47+
4848

4949
## 📦 [Section 4: Functions](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_4_functions)
5050

@@ -57,7 +57,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
5757
- 🧊 **Lambda Expressions** – Create small anonymous functions.
5858
- 📄 **Docstrings** – Document your functions clearly.
5959

60-
---
60+
6161

6262
## 📋 [Section 5: Lists](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_5_List)
6363

@@ -74,7 +74,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
7474
- 🔄 **Map, Filter, Reduce** – Transform and filter list elements.
7575
- 💡 **List comprehensions** – Create lists quickly and cleanly.
7676

77-
---
77+
7878

7979
## 🗂️ [Section 6: Dictionaries](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_6_Dictionary)
8080

@@ -83,7 +83,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
8383
- 📁 **Dictionary** – Store data as keys and values.
8484
- 🧰 **Dictionary comprehension** – Build dictionaries dynamically.
8585

86-
---
86+
8787

8888
## 🔢 [Section 7: Sets](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_7_Sets)
8989

@@ -94,7 +94,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
9494
-**Union, Intersection, Difference** – Combine and compare sets.
9595
-**Subset, Superset, Disjoint sets** – Check relationships between sets.
9696

97-
---
97+
9898

9999
## ⚠️ [Section 8: Exception Handling](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_8_Exception_Handling)
100100

@@ -104,7 +104,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
104104
- 🧹 **try…except…finally** – Always run cleanup code.
105105
-**try…except…else** – Run code only if no error occurs.
106106

107-
---
107+
108108

109109
## 🔁 [Section 9: More on Python Loops](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_9_loops_adv)
110110

@@ -114,7 +114,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
114114
-**while…else** – Run code after a while loop ends.
115115
- 🔁 **do…while emulation** – Simulate do…while behavior in Python.
116116

117-
---
117+
118118

119119
## 🧰 [Section 10: More on Python Functions](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_10_More_on_function)
120120

@@ -126,7 +126,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
126126
- 🔧 **Partial functions** – Fix some arguments for reuse.
127127
- 📏 **Type hints** – Improve readability and enable static type checking.
128128

129-
---
129+
130130

131131
## 📁 [Section 11: Modules & Packages](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_11_Modules_packages.py)
132132

@@ -138,7 +138,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
138138
- 📁 **Packages** – Organize modules into folders.
139139
- 🔒 **Private functions** – Hide internal implementation.
140140

141-
---
141+
142142

143143
## 📄 [Section 12: Working with Files](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_12_files)
144144

@@ -151,7 +151,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
151151
- 📊 **Read and write CSV files**
152152
- 🗑️ **Rename and delete files**
153153

154-
---
154+
155155

156156
## 🗃️ [Section 13: Working Directories](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_13_Directory)
157157

@@ -160,7 +160,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
160160
- 📁 **Working with directories**
161161
- 🔍 **List files in a directory**
162162

163-
---
163+
164164

165165
## 💬 [Section 14: Strings](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_14_strings)
166166

@@ -170,7 +170,7 @@ This repository is your **step-by-step roadmap** to mastering Python — from th
170170
- 🧊 **Raw strings** – Avoid escape character issues.
171171
- 🧱 **Backslash usage** – Handle special characters.
172172

173-
---
173+
174174

175175
## 🛠️ [Section 15: Third-party Packages, PIP, and Virtual Environments](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_15_pip_package)
176176

@@ -213,7 +213,7 @@ Each concept is explained with code examples and best practices for writing clea
213213
- 🧾 Method overloading via default and keyword arguments
214214
- 💡 Best practices for readable OOP
215215

216-
---
216+
217217

218218
## 🧪 [Section 17: Special Methods (Dunders)](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_17_Special_methods)
219219

@@ -226,7 +226,7 @@ Each concept is explained with code examples and best practices for writing clea
226226
- 🚫 `__bool__` – define truthiness
227227
- 🗑️ `__del__` – handle object destruction
228228

229-
---
229+
230230

231231
## 🔐 [Section 18: Property](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_18_Property)
232232

@@ -238,7 +238,7 @@ Each concept is explained with code examples and best practices for writing clea
238238
- 📝 Read-only properties
239239
- 🧠 Best practices for encapsulation
240240

241-
---
241+
242242

243243
## 🔄 [Section 19: Inheritance](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_19_Single_inheritance)
244244

@@ -250,7 +250,7 @@ Each concept is explained with code examples and best practices for writing clea
250250
- 🧱 Use `__slots__` for memory efficiency
251251
- 🧻 Abstract base classes with `abc.ABC`
252252

253-
---
253+
254254

255255
## 🔁 [Section 20: Multiple Inheritance](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_20_Enumeration)
256256

@@ -262,7 +262,7 @@ Each concept is explained with code examples and best practices for writing clea
262262
- 🚫 Avoid diamond problem with proper design
263263
- 🧲 Combine behaviors without deep hierarchies
264264

265-
---
265+
266266

267267
## 🧩 [Section 21: Enumeration](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_21_SOLID_principles)
268268

@@ -274,7 +274,6 @@ Each concept is explained with code examples and best practices for writing clea
274274
- 📦 Extend custom enum classes
275275
- 🧠 Use enums instead of hardcoded strings
276276

277-
---
278277

279278
## 🧱 [Section 22: SOLID Principles](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_22_Multiple_inheritance)
280279

@@ -286,7 +285,7 @@ Each concept is explained with code examples and best practices for writing clea
286285
- 📁 Interface Segregation Principle
287286
- 🧠 Dependency Inversion Principle
288287

289-
---
288+
290289

291290
## 🧰 [Section 23: Descriptors](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_23_Descriptors)
292291

@@ -297,7 +296,7 @@ Each concept is explained with code examples and best practices for writing clea
297296
- 🧩 Reusable validation and computed properties
298297
- 🧱 Descriptor examples: type checking, lazy loading
299298

300-
---
299+
301300

302301
## 🧪 [Section 24: Metaprogramming](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_24_Meta_programming)
303302

@@ -309,7 +308,7 @@ Each concept is explained with code examples and best practices for writing clea
309308
- 🧱 Inject behavior via metaclass
310309
- 🧠 Use `dataclass` to auto-generate boilerplate
311310

312-
---
311+
313312

314313
## 🧾 [Section 25: Exceptions in OOP](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_25_Exceptions)
315314

@@ -334,7 +333,7 @@ Each concept is explained with code examples and best practices for writing clea
334333
- Run parallel tasks using `multiprocessing`.
335334
- Understand single-threaded concurrency via `asyncio`.
336335

337-
---
336+
338337
## 🔁 [Section 26: Multithreading](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_26_Multithreading)
339338
🧵 **Use threads for I/O-bound tasks.**
340339
- 🧠 **Processes vs Threads** – Understand differences and when to use each.
@@ -345,26 +344,26 @@ Each concept is explained with code examples and best practices for writing clea
345344
- 🌙 **Daemon threads** – Background threads that don’t block program exit.
346345
- 🧰 **Thread Pools** – Efficiently manage threads using `ThreadPoolExecutor`.
347346

348-
---
349-
## 🔒 [Section 27: Thread Synchronization Techniques](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_27_Thread_sync)
347+
348+
## 🔒 [Section 27: Thread Synchronization Techniques](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_27_Thread_Synchronization_Techniques)
350349
🔐 **Avoid race conditions and ensure safe access.**
351350
- 🧱 **Lock** – Prevent simultaneous access to shared data.
352351
- 🚦 **Event** – Communicate between threads (e.g., wait/signal patterns).
353352
- ⏹️ **How to stop a thread** – Safely terminate child threads.
354353
- 🚧 **Semaphore** – Control number of concurrent threads accessing a resource.
355354

356-
---
357-
## 📥 [Section 28: Sharing Data Between Threads](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_28_Sharing_data)
355+
356+
## 📥 [Section 28: Sharing Data Between Threads](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_28_Sharing_Data_Between_Threads)
358357
📦 **Exchange data safely across threads.**
359358
- 🧷 **Thread-safe Queue** – Use `queue.Queue` for safe inter-thread communication.
360359

361-
---
360+
362361
## 🚀 [Section 29: Multiprocessing](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_29_Multiprocessing)
363362
🔌 **Run CPU-bound tasks in parallel using separate processes.**
364363
- 🧲 **Multiprocessing module** – Use `multiprocessing.Process` to spawn new processes.
365364
- 🧰 **Process Pools** – Manage processes efficiently using `Pool` or `ProcessPoolExecutor`.
366365

367-
---
366+
368367
## [Section 30: Async I/O](https://github.com/onyxwizard/python-cheatsheet/tree/main/Section_30_Async_IO)
369368
**Write asynchronous, non-blocking code using coroutines.**
370369
- 🧠 **Understanding Event Loop** – Core of async programming; manages coroutine execution.
@@ -376,3 +375,5 @@ Each concept is explained with code examples and best practices for writing clea
376375
- 🎯 **Future** – Understand `Future` objects for eventual results.
377376
- 🧱 **Running multiple tasks concurrently with gather()** – Run tasks concurrently using `asyncio.gather()`.
378377
#### 🎉 **Let’s learn Python together — one concept at a time!**
378+
379+
---

0 commit comments

Comments
 (0)