Search Bar

Tuesday 14 March 2023

Python Programming Tut#02

 Python Tutorial 02

Install Python: Before you can start writing Python code, you'll need to install Python on your computer. You can download the latest version of Python from the official Python website (https://www.python.org/downloads/). Follow the instructions to install Python on your computer.


Choose a text editor or Integrated Development Environment (IDE): Once you have Python installed, you'll need a way to write and edit Python code. You can use any text editor or IDE that you prefer. Some popular options include Visual Studio Code, PyCharm, Sublime Text, and Notepad++. Choose the one that you are most comfortable with.

Learn the basics of Python: Python is a high-level programming language that is easy to learn and use. It's a great choice for beginners who are just getting started with programming.

To check the Python version installed on your computer, you can open a command prompt or terminal and type the following command:

python --version


Python Programming Tutorial 02 check version
Python Programming Tutorial 02 check version

This will print the version number of Python installed on your system. For example, if you have Python 3.9.1 installed, the output will be: 

Python Programming Tutorial 02 check version
Python Programming Tutorial 02 check version

Python انسٹال کریں: اس سے پہلے کہ آپ Python کوڈ لکھنا شروع کر سکیں، آپ کو اپنے کمپیوٹر پر Python انسٹال کرنا ہو گا۔ آپ Python کی آفیشل ویب سائٹ (https://www.python.org/downloads/) سے تازہ ترین ورژن ڈاؤن لوڈ کر سکتے ہیں۔ اپنے کمپیوٹر پر Python انسٹال کرنے کے لیے ہدایات پر عمل کریں۔ ٹیکسٹ ایڈیٹر یا انٹیگریٹڈ ڈیولپمنٹ انوائرمنٹ (IDE) کا انتخاب کریں: ایک بار جب آپ Python انسٹال کر لیں، تو آپ کو Python کوڈ لکھنے اور اس میں ترمیم کرنے کے لیے ایک طریقہ درکار ہوگا۔ آپ کوئی بھی ٹیکسٹ ایڈیٹر یا IDE استعمال کر سکتے ہیں۔ آپ ترجیح دیتے ہیں۔ کچھ مشہور آپشنز میں ویژول اسٹوڈیو کوڈ، پی چارم، سبلائم ٹیکسٹ، اور نوٹ پیڈ++ شامل ہیں۔ وہ انتخاب کریں جس کے ساتھ آپ سب سے زیادہ آرام دہ ہوں۔ Python ایک اعلیٰ سطحی پروگرامنگ زبان ہے جسے سیکھنا اور استعمال کرنا آسان ہے۔ یہ ان لوگوں کے لیے ایک بہترین انتخاب ہے جو ابھی پروگرامنگ کے ساتھ شروعات کر رہے ہیں۔ اپنے کمپیوٹر پر Python کے انسٹال شدہ ورژن کو چیک کرنے کے لیے، آپ کمانڈ پرامپٹ یا ٹرمینل کھول سکتے ہیں اور درج ذیل کمانڈ کو ٹائپ کر سکتے ہیں: python --version یہ ورژن نمبر پرنٹ کرے گا۔ آپ کا سسٹم۔ مثال کے طور پر، اگر آپ نے Python 3.9.1 انسٹال کیا ہے، تو آؤٹ پٹ ہو گا۔

1 comment: