How to Install Python In Hindi
Python ek bahut hi popular programming language hai jo seekhne aur use karne mein bahut hi aasan hai. Yeh high-level language hai jo bahut sari applications mein use hoti hai, jaise web development, data analysis, artificial intelligence, aur machine learning. Aaj hum Python ko apne system par kaise install karte hain yeh sikhenge. Agar aap naye hain programming mein, to bhi aap is article ko follow kar ke aasani se Python install kar sakte hain. Lets start Python Installation In Hindi.
Python Download Karna
Python ko download karne ke liye sabse pehle apne web browser mein jaayein aur simple search bar mein 'download python' likhein. Jo pehla link dikhe uspar click karen. Yahaan se aap official Python website par pahunch jaayenge jahan se aap latest version ko download kar sakte hain.
Official Website: Aapko Python Official Website par jaakar download link mil jayega.
Latest Version Download: Website par 'Downloads' section mein apne operating system (Windows, MacOS, Linux) ke liye latest version select karen.
Executable File: Download hone ke baad executable file (.exe) par double click karein aur installation process ko start karen.
Python Installation Process
Run Installer: Installer ko run karte hi aapko ek setup wizard milega jo aapko instructions dega.
Add Python to PATH: Yad rahe, "Add Python to PATH" option ko zaroor select karein taaki aap command prompt se Python ko directly access kar sakein.
Install Now: 'Install Now' button par click karein. Installation process shuru ho jayegi aur kuch hi minutes mein complete ho jayegi.
यह भी पढ़ें: 250+ Free Python Projects with Source Code: From Beginner to Advanced
Python Set Environment Variable
Python ko install karne ke baad, aapko apne system environment variables set karne padenge taaki aap command prompt par directly Python commands run kar sakein.
Open Environment Variables: Windows search bar mein "system environment variables" search karein aur "Edit the system environment variables" option ko open karein.
System Properties: 'Advanced' tab mein 'Environment Variables' button par click karein.
Path Variable: 'System variables' section mein 'Path' ko select karein aur 'Edit' par click karein.
Add Python Path: 'New' button click kar ke Python install directory ka path (e.g., C:\Python39) aur Scripts folder ka path (e.g., C:\Python39\Scripts) add karein.
Python Installation Verify Karna
Ab aapke system par Python install ho gaya hai. Yeh verify karne ke liye, command prompt open karein aur python --version type karein. Agar installation sahi se hui hai to aapko Python ka version number dikhayi dega.
C:\Users\Rahulkumar>python --version
Python 3.9.2
Python Script Run Karna
Agar aap program ke through Python ka version check karna chahte hain to kisi bhi location par ek file bana lein aur usse .py extension ke saath save kar lein. Example ke taur par, desktop par test.py file banayein aur isme niche diya gaya code likhein:
import sys
print(sys.version)
Command prompt par jaakar file ka path likhein aur python test.py command run karein. Aapko Python ka version number output mein milega.
C:\Users\Rahulkumar\Desktop>python test.py
3.9.2 (tags/v3.9.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)]
Conclusion
Is article mein humne step-by-step dekha ki kaise Python ko apne system par download aur install karte hain, environment variables set karte hain aur verify karte hain ki installation sahi se hui ya nahi. Python ek powerful aur versatile language hai jo beginners aur experienced developers dono ke liye best hai. Ab aap Python ka use kar ke apni programming journey shuru kar sakte hain aur apne projects ko successfully complete kar sakte hain.
यह भी पढ़ें: Python Programming In Hindi | Python Tutorials In Hindi