|1. Introduction to Python
Chapter 1Python Tutorial~1 min read

Introduction to Python

Python म्हणजे काय?

Python ही एक dynamically typed, general-purpose programming language आहे. Guido van Rossum यांनी 1989 मध्ये ती बनवली. Python interpreted आणि high-level language आहे — म्हणजे machine code लिहिण्याची गरज नाही, सरळ human-readable code लिहायचे!

Marathi Analogy

Python म्हणजे Marathi सारखी भाषा — बोलायला सोपी, समजायला सोपी. C++ किंवा Java म्हणजे Sanskrit — powerful पण कठीण. Python मध्ये "print('Hello')" एकाच line मध्ये होतं!

Python का शिकावं?

  • सरळ English सारखा syntax — beginners साठी perfect
  • Data Science आणि AI मध्ये #1 language
  • Web Development (Django, Flask)
  • Automation — boring tasks automatically करा
  • NumPy, Pandas, TensorFlow, OpenCV — हजारो libraries
  • Open source — पूर्णपणे free

Python कुठे वापरतात?

  • Data Science — data analysis, visualization
  • Artificial Intelligence / Machine Learning
  • Web Development — Instagram, Pinterest Python वापरतो
  • Automation — files, emails, web scraping
  • Database Management
  • Scientific Computing — NASA, CERN पण Python वापरतो!

Python चा पहिला program

python
# हे Python चे पहिले program आहे
print("नमस्कार! Python मध्ये स्वागत!")
print("Hello, World!")

# Python मध्ये calculation करणे खूप सोपे
print(2 + 3)     # 5
print(10 / 3)    # 3.3333...
print(10 // 3)   # 3 (floor division)
print(2 ** 10)   # 1024 (2 to the power 10)
💡

Python install करायला python.org वर जा, latest version download करा, आणि VS Code मध्ये Python extension install करा. Terminal मध्ये "python --version" टाकून check करा.

Key Points — लक्षात ठेवा

  • Python = simple, readable, powerful language
  • Guido van Rossum, 1989 — interpreted, high-level
  • AI, Data Science, Web, Automation — सगळ्यात वापर
  • print() — output दाखवायचं function
  • # — comment लिहायला (Python ignore करतो)
0/12 chapters पूर्ण