Home Chapters Projects About
HomeProjects › Day 37
DAY 37 — 60 DAY PYTHON CHALLENGE

Note Taking App

Python mein Note Taking App banao — Hindi mein step by step

Advertisement

Project kya hai?

Day 37 ka project hai Note Taking App! Yeh project banane se aap Python ke important concepts practice kar payenge. Neeche complete code hai — copy karo aur chalao!

Complete Python Code

python — notes.py
import time

notes = {}
print("=== Note Taking App ===")

while True:
    print("\n1. Note add karo")
    print("2. Note dekho")
    print("3. Note edit karo")
    print("4. Note delete karo")
    print("5. Sab notes list")
    print("6. Notes search karo")
    print("7. Baahar jao")
    ch = input("Choice: ")
    if ch == "1":
        title   = input("Note title: ")
        content = input("Note content: ")
        tags    = input("Tags (comma se alag): ").split(",")
        notes[title] = {
            "content": content,
            "tags":    [t.strip() for t in tags],
            "created": time.strftime("%d-%m-%Y %H:%M")
        }
        print(f"Note save ho gaya: {title}")
    elif ch == "2":
        title = input("Title: ")
        if title in notes:
            n = notes[title]
            print(f"\n=== {title} ===")
            print(f"  {n['content']}")
            print(f"  Tags: {', '.join(n['tags'])}")
            print(f"  Created: {n['created']}")
        else:
            print("Note nahi mila!")
    elif ch == "3":
        title = input("Kaun sa note edit karein: ")
        if title in notes:
            notes[title]["content"] = input("Naya content: ")
            print("Note update ho gaya!")
        else:
            print("Note nahi mila!")
    elif ch == "4":
        title = input("Kaun sa note delete karein: ")
        if notes.pop(title, None):
            print("Note delete ho gaya!")
        else:
            print("Note nahi mila!")
    elif ch == "5":
        print(f"\n=== Sab Notes ({len(notes)}) ===")
        for t, n in notes.items():
            print(f"  - {t} [{n['created']}]")
    elif ch == "6":
        q = input("Search karo: ").lower()
        found = {t: n for t, n in notes.items()
                 if q in t.lower() or q in n["content"].lower()}
        print(f"\n{len(found)} notes mile:")
        for t in found:
            print(f"  - {t}")
    elif ch == "7":
        break
OUTPUT
Choice: 1
Note title: Python Tips
Note content: Variables, Loops, Functions zaroori hain
Tags: python, tips
Note save ho gaya: Python Tips

=== Sab Notes (1) ===
  - Python Tips [13-03-2026 10:30]

Code kaise kaam karta hai?

Dictionary mein title=key, content/tags/time=value. time.strftime() se timestamp milta hai. Dict comprehension se search results filter hote hain.
Advertisement

📋 Project ka Introduction

Note Taking App Python ka Day 37 ka project hai. Is project mein aap Python ke important concepts practice karenge jo real-world applications mein bahut use hote hain.

Yeh project beginners ke liye design kiya gaya hai lekin kaafi concepts cover karta hai. Step by step samjho, code chalao, aur khud modify karke practice karo.

Is tarah ke projects banane se aapka Python confidence badh jaata hai aur aap asli problems solve karna seekh jaate hain. Chaliye code samjhte hain!

🧠 Is Project mein kya seekhoge?

Yeh project banate waqt aap ye Python concepts use karoge:
ConceptKya karta hai
VariablesData store karna
FunctionsReusable code blocks
LoopsRepeat karna
ConditionsDecisions lena
Input/OutputUser se interact karna

📝 Code kaise kaam karta hai — Step by Step

Neeche code ki poori logic step-by-step samjhayi gayi hai:
  1. Problem samjho: Note Taking App mein kya karna hai
  2. Required variables aur data structures decide karo
  3. Logic step-by-step likhó
  4. Code mein implement karo
  5. Test karo aur bugs fix karo

⚠️ Common Mistakes — Bhool mat jaana!

Beginners yeh galtiyan aksar karte hain — dhyan rakho:
  • ⚠️ Indentation sahi rakho — Python mein spaces matter karti hain
  • ⚠️ Variables ko use se pehle define karo
  • ⚠️ Input ko int()/float() mein convert karo agar number chahiye
  • ⚠️ Edge cases handle karo — kya hoga agar user galat input de?

🏋️ Practice Exercises — Aage badho!

Yeh project complete karne ke baad in exercises se practice karo:
  • 💡 Note Taking App mein naya feature add karo
  • 💡 Code ko functions mein refactor karo
  • 💡 Error handling improve karo
  • 💡 File mein data save karo

❓ Aksar Pooche Jane Wale Sawal (FAQ)

Q: Note Taking App project kyon banana chahiye?

A: Har project ek naya concept sikhata hai. Practice se hi Python fluent aati hai.
Q: Code run nahi ho raha?

A: Indentation check karo, syntax errors dekho, variables define hain ya nahi check karo.
Q: Kaise improve karein?

A: Pehle basic version complete karo, phir ek ek feature add karte jao.