If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.
Python download करने के लिए simple search bar में 'download python' लिखें फिर वहां दिख रहे सबसे पहले link पर click करें।
website से जो भी version आपको install करना हो वो download करें , और download होने के बाद double click करके use install कर लें । उसके बाद जो instructions बताएं जाएँ वो follow करें।
इसके लिए simply आप window search बार में system environment search कर सकते हैं। जैसा कि नीचे image में दिखाया गया है।
इसे open करने के बाद नीचे दी गयी steps follow करें।
अब आपके system पर python install हो गया है। python install है या नहीं यह check करने के लिए simply command line open करके python --version type करे।
C:\Users\Rahulkumar\Desktop\python>python --version Python 3.8.2
तो जैसा कि आप देख सकते हैं कि मेरे system पर python 3.8.2 installed है। इसके अलावा अगर program के through python version जानना चाहते हैं तो किसी भी location पर एक file बना लें और उसे .py extension के साथ save कर लें।
मैंने एक desktop पर test.py name की file बनाई है।
import sys
print(sys.version)
C:\Users\Rahulkumar\Desktop\python>python test.py 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)]
Explanation : basically program में एक module को import किया है जो हमें कई system information provide करता है। अब module क्या होते हैं इसके बारे में आगे आप पढ़ेंगे।
next line में simple print() function का use करके version को print किया है।
Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)
Get connected with me. :) LinkedIn Twitter Instagram Facebook