PYTHON ON UBUNTU
แ แแ แUbuntu OS แฐแ แแแแฝ แฅแแดแต pythonแ install แแจแ แฅแแฐแแฝแ แฅแแแแจแต
1. Open Terminal: You can open the terminal by pressing
2. Update Package Lists: It's a good practice to update the package lists before installing new software. Run the following command:
3. Install Python: Python is included in the base installation of Ubuntu, but you may want to install a specific version or ensure you have the latest version. To install Python 3.11, run:
4. Verify Installation: After the installation is complete, you can verify the installation by checking the Python version:
5. Optional: You may also want to install pip, the package installer for Python, if it's not installed by default:
That's it! You have successfully installed Python on your Ubuntu system. You can now start using Python by running
โ๏ธFor any questions ๐ช knock knock ๐
#Ubuntu
#PythonInstallation
@python_pioneers
แ แแ แUbuntu OS แฐแ แแแแฝ แฅแแดแต pythonแ install แแจแ แฅแแฐแแฝแ แฅแแแแจแต
1. Open Terminal: You can open the terminal by pressing
Ctrl + Alt + T or by searching for "Terminal" in the applications menu.2. Update Package Lists: It's a good practice to update the package lists before installing new software. Run the following command:
sudo apt update
3. Install Python: Python is included in the base installation of Ubuntu, but you may want to install a specific version or ensure you have the latest version. To install Python 3.11, run:
sudo apt install python3.11
4. Verify Installation: After the installation is complete, you can verify the installation by checking the Python version:
python3 --version
5. Optional: You may also want to install pip, the package installer for Python, if it's not installed by default:
sudo apt install python3-pip
That's it! You have successfully installed Python on your Ubuntu system. You can now start using Python by running
python3.โ๏ธFor any questions ๐ช knock knock ๐
#Ubuntu
#PythonInstallation
@python_pioneers
๐2
This media is not supported in your browser
VIEW IN TELEGRAM
PYTHON ON UBUNTU
Read the post above๐ to have more insight about the installation process.
@python_pioneers
@python_pioneers
Read the post above๐ to have more insight about the installation process.
@python_pioneers
@python_pioneers
โค1
PYTHON ON WINDOWS
แจWindows แฐแ แแแแฝ แจแแจแฐแแตแ steps แ แแจแฐแ pythonแ install แแตแจแ แตแฝแแแฝแแข
1. Download Python: Go to the official Python website (python.org) and download the latest version of Python for Windows.
2. Run the Installer: Once the download is complete, locate the downloaded file and double-click to run the installer.
3. Install Python: Click on the "Install Now" button to begin the installation process. The installer will copy files and configure Python on your system.
4. Verify Installation: Once the installation is complete, open the command prompt and type
You should see the version number of Python that you installed.
That's it! Python is now installed on your Windows system, and you can start writing and running Python code.
Installation แแฐแฑแ แจแแซแณแญ vedio link แจแตแญ แฅแแแ แแฝแแแ
If you face any problems, let us know.โก
#Windows
#Python
@python_pioneers
แจWindows แฐแ แแแแฝ แจแแจแฐแแตแ steps แ แแจแฐแ pythonแ install แแตแจแ แตแฝแแแฝแแข
1. Download Python: Go to the official Python website (python.org) and download the latest version of Python for Windows.
2. Run the Installer: Once the download is complete, locate the downloaded file and double-click to run the installer.
3. Install Python: Click on the "Install Now" button to begin the installation process. The installer will copy files and configure Python on your system.
4. Verify Installation: Once the installation is complete, open the command prompt and type
python --version to verify that Python has been installed correctly.You should see the version number of Python that you installed.
That's it! Python is now installed on your Windows system, and you can start writing and running Python code.
Installation แแฐแฑแ แจแแซแณแญ vedio link แจแตแญ แฅแแแ แแฝแแแ
If you face any problems, let us know.โก
#Windows
#Python
@python_pioneers
๐4
Which command is used to install Python on Termux?
Anonymous Quiz
32%
A) sudo apt install python
43%
B) pkg install python
9%
C) yum install python
17%
C) pip install python
What is the recommended method to install Python on Windows?
Anonymous Quiz
91%
A) Downloading and running the installer from python.org
2%
B) Using the Microsoft Store
4%
C) Installing via Chocolatey
2%
D) Compiling from source
Which version of Python is recommended for most users to install?
Anonymous Quiz
7%
A) Python 2
53%
B) Python 3
33%
C) Python 3.6
7%
D) Python 4
What command is commonly used to check the Python version installed on your system?
Anonymous Quiz
21%
A) python -v
15%
B) python version
6%
C) version python
58%
D) python --version
How do you start the Python interpreter on the terminal?
Anonymous Quiz
14%
A) python start
27%
B) run python
48%
C) python
11%
D) start python
ChatGPT was asked to generate memes that only AI would understand.
If you smiled - think about it. ๐ค
#AI
@python_pioneers
If you smiled - think about it. ๐ค
#AI
@python_pioneers
๐2
แ แแ
แฝ แ แญแญ story แฐแแ แแฝแณแฝแแ แฅแฉแ
แ แญแ๐
The Travelers and The Plane Tree
Two men were walking along one summer day. Soon it became too hot to go any further and, seeing a large plane tree nearby, they threw themselves on the ground to rest in its shade. Gazing up into the branches one man said to the other,
"What a useless tree this is. It does not have fruit or nuts that we can eat and we cannot even use its wood for anything."
"Don't be so ungrateful," rustled the tree in reply. "I am being extremely useful to you at this very moment, shielding you from the hot sun. And you call me a good-for-nothing!"
Moral: All of God's creations have a good purpose. We should never belittle God's blessings.
แแแซแ แแฝแต!
#Story
@python_pioneers
The Travelers and The Plane Tree
Two men were walking along one summer day. Soon it became too hot to go any further and, seeing a large plane tree nearby, they threw themselves on the ground to rest in its shade. Gazing up into the branches one man said to the other,
"What a useless tree this is. It does not have fruit or nuts that we can eat and we cannot even use its wood for anything."
"Don't be so ungrateful," rustled the tree in reply. "I am being extremely useful to you at this very moment, shielding you from the hot sun. And you call me a good-for-nothing!"
Moral: All of God's creations have a good purpose. We should never belittle God's blessings.
แแแซแ แแฝแต!
#Story
@python_pioneers
โค6๐3๐1
๐ฑ PyDroid: Your Python Playground on Android!
แAndroid แฐแ แแแแฝ python codes run แแแจแ แแแแ แ แแซแญ แแแข
๐ Download the app from Play Store: https://play.google.com/store/apps/details?id=ru.iiec.pydroid3
With PyDroid, you can write, test, and debug Python code with ease, whether you're a beginner or an experienced developer.
Or for arm64 structure you can download the apk file we uploaded below ๐
@python_pioneers
แAndroid แฐแ แแแแฝ python codes run แแแจแ แแแแ แ แแซแญ แแแข
๐ Download the app from Play Store: https://play.google.com/store/apps/details?id=ru.iiec.pydroid3
With PyDroid, you can write, test, and debug Python code with ease, whether you're a beginner or an experienced developer.
Or for arm64 structure you can download the apk file we uploaded below ๐
@python_pioneers
๐1
Being youthful is not just about age, but about being useful in every moment.
แแฃแตแแต แแฅแต แแแฃ แฅแแแ แฅแแญ แฒแแฅแจแ แญแแแ แแฅแต แ แฅแซแแณแแณแฝแ แแตแฅ แ แตแแแงแแข แญแ แแฅแต แฐแแ แ แ แแณแ แแแฎแฝ แแฃแจแ แจแแ แตแแฃ แ แซแณแแต แแตแแ แ แแญแจแฃ แแแญ แแญ แ แแแแแข แฅแซแแณแแทแ moment invest แ แญแแ แแฃแตแแณแฝแแ แแแแซแ แแแญ แฅแแแแแข
แแแซแ แแ!
YOUTHFUL IS USEFUL!
@python_pioneers
แแฃแตแแต แแฅแต แแแฃ แฅแแแ แฅแแญ แฒแแฅแจแ แญแแแ แแฅแต แ แฅแซแแณแแณแฝแ แแตแฅ แ แตแแแงแแข แญแ แแฅแต แฐแแ แ แ แแณแ แแแฎแฝ แแฃแจแ แจแแ แตแแฃ แ แซแณแแต แแตแแ แ แแญแจแฃ แแแญ แแญ แ แแแแแข แฅแซแแณแแทแ moment invest แ แญแแ แแฃแตแแณแฝแแ แแแแซแ แแแญ แฅแแแแแข
แแแซแ แแ!
YOUTHFUL IS USEFUL!
@python_pioneers
๐4โค3
The Python Interpreter
Interpreter แแญแ แ แ แแญแ แฐแญแแ แแแแ แฅแแฝแแแแฃ แ High-level programming language แจแแแแแ code แแฐ machine language แจแแแญแญ program แฅแแฐแแ แ แญแฐแ แแ แญแข แแแ แฐแแ Python interpreted language แฅแแฐแแแ แญแแญ แ แญแฐแแแข
แจPythonแ language in our devices แตแแญแ แจแฐแซแแต แแแฎแฝ แ แแฑ Python interpreter แแแข Python interpreter แจPython Programming statements แแแ แฅ แฅแ แฅแแฑแ execute แแตแจแ แจแแฝแ แแฎแแซแ แแแข Interpreterแกแ แ แแแต แ แญแแต แแแแถแฝ แแ แแ แฅแแฝแแแแก
I.Interactive mode แฅแ
II.Script mode
In Interactive mode, Interpreterแก แฅแ python statements keyboard แแญ แฅแตแจแแแ แ แญแ แฅแแแข แ แแต แแ แ แแต valid แจแแ statement แจแแแ execute แซแจแแ waits for another statement.
In Script mode, Interpreterแก python statements แจแซแ file แแตแฅ แซแแตแ contents แ แแต แ แ แแต แซแแฃแธแแแข
แญแ file แฐแแ python program แแญแ python script แญแฃแแแข Interpreterแก each statement แฃแแ แ แแฅแญ execute แซแจแแธแแแข
Interactive Mode
Python interpreter แจแแ operating system แแตแฅ แจแซแแ แ แแ แแฐ command-line แ แแแต Interpreterแกแ แ Interactive mode แแจแ แฅแแฝแแแแข with the following command:
When the Python interpreter starts in interactive mode, แฅแแฐแแ แ แญแแต แแแญ displayed แญแแแแข
แญแ แแ๐ แแแญแต แจแแซแณแจแ Interpreterแก แจแแ แแแญ แฅแแตแตแ แ แฅแจแ แ แ แแแแ แจแแตแ แแตแ python statement execute แแแจแ ready แฅแแฐแแ แแแข๐
...แญแแฅแแ
@python_pioneers
@python_pioneers
Interpreter แแญแ แ แ แแญแ แฐแญแแ แแแแ แฅแแฝแแแแฃ แ High-level programming language แจแแแแแ code แแฐ machine language แจแแแญแญ program แฅแแฐแแ แ แญแฐแ แแ แญแข แแแ แฐแแ Python interpreted language แฅแแฐแแแ แญแแญ แ แญแฐแแแข
แจPythonแ language in our devices แตแแญแ แจแฐแซแแต แแแฎแฝ แ แแฑ Python interpreter แแแข Python interpreter แจPython Programming statements แแแ แฅ แฅแ แฅแแฑแ execute แแตแจแ แจแแฝแ แแฎแแซแ แแแข Interpreterแกแ แ แแแต แ แญแแต แแแแถแฝ แแ แแ แฅแแฝแแแแก
I.Interactive mode แฅแ
II.Script mode
In Interactive mode, Interpreterแก แฅแ python statements keyboard แแญ แฅแตแจแแแ แ แญแ แฅแแแข แ แแต แแ แ แแต valid แจแแ statement แจแแแ execute แซแจแแ waits for another statement.
In Script mode, Interpreterแก python statements แจแซแ file แแตแฅ แซแแตแ contents แ แแต แ แ แแต แซแแฃแธแแแข
แญแ file แฐแแ python program แแญแ python script แญแฃแแแข Interpreterแก each statement แฃแแ แ แแฅแญ execute แซแจแแธแแแข
Interactive Mode
Python interpreter แจแแ operating system แแตแฅ แจแซแแ แ แแ แแฐ command-line แ แแแต Interpreterแกแ แ Interactive mode แแจแ แฅแแฝแแแแข with the following command:
python
When the Python interpreter starts in interactive mode, แฅแแฐแแ แ แญแแต แแแญ displayed แญแแแแข
Python 3.11.8 (main, Feb 11 2024, 13:05:24) [Clang 17.0.2 (https://android.googlesource.com/toolchain/llvm-project d9f89f4d1 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
แญแ แแ๐ แแแญแต แจแแซแณแจแ Interpreterแก แจแแ แแแญ แฅแแตแตแ แ แฅแจแ แ แ แแแแ แจแแตแ แแตแ python statement execute แแแจแ ready แฅแแฐแแ แแแข๐
>>>
...แญแแฅแแ
@python_pioneers
@python_pioneers
๐3๐2
INTERACTIVE MODE
One of the simplest statements that you can write in Python is a print statement, print แจแแแแแแ แแแแญแต screen แแญ display แแแตแจแ แจแแ แ แ statement แแแข
แแแณแแก แจแแ แ แณแฝ แซแแ statement Hello, Ethiopia! แจแแ แแแแญแต displayed แฅแแฒแแ แซแฐแญแแแข
Notice that แจprint statement แ แแ แแแแญแณแฝแแ แจแแแแ แ quote marks แแญแ แ แตแแ แญแฐ แฅแ แต แแซแจแ แแแฃ qoute marks แ แตแแแ แขแแแ they will not be displayed, these qoutes แ แจแแแแแ แแแแญแต แแแแชแซแ แแจแจแป แซแณแซแแข
แแแแญแฑ displayed แจแฐแฐแจแ แ แแ >>> prompt แฐแแแถ แญแแฃแแฃ แแ statement แฅแแตแตแ แ แฅแจแ แ แ แแ แแแต แแแข
แตแ Python แแแแญ Interactive mode preferable แแแข That means we don't need to create a file, write a code in it, save it....bla bla.... We just write statements and get quick executions.
แจPython interpreter แแแแฃแต แฐแแ แฅแแแ แ แ แแซแฎแฝ แแ แแ แฅแแฝแแแ exit() [ENTER], CTRL + Z for windows, CTRL + D for Mac, Linux or UNIX computers.
แ แแฃแญ python programs แ script mode แฅแแดแต แฅแแฐแแฐแแแ แ แฅแแซแแแข
Stay Tuned!
@python_pioneers
@python_pioneers
One of the simplest statements that you can write in Python is a print statement, print แจแแแแแแ แแแแญแต screen แแญ display แแแตแจแ แจแแ แ แ statement แแแข
แแแณแแก แจแแ แ แณแฝ แซแแ statement Hello, Ethiopia! แจแแ แแแแญแต displayed แฅแแฒแแ แซแฐแญแแแข
>>>print('Hello, Ethiopia!')Notice that แจprint statement แ แแ แแแแญแณแฝแแ แจแแแแ แ quote marks แแญแ แ แตแแ แญแฐ แฅแ แต แแซแจแ แแแฃ qoute marks แ แตแแแ แขแแแ they will not be displayed, these qoutes แ แจแแแแแ แแแแญแต แแแแชแซแ แแจแจแป แซแณแซแแข
>>>print('Hello, Ethiopia!'). [ENTER]
Hello, Ethiopia!
>>>แแแแญแฑ displayed แจแฐแฐแจแ แ แแ >>> prompt แฐแแแถ แญแแฃแแฃ แแ statement แฅแแตแตแ แ แฅแจแ แ แ แแ แแแต แแแข
แตแ Python แแแแญ Interactive mode preferable แแแข That means we don't need to create a file, write a code in it, save it....bla bla.... We just write statements and get quick executions.
แจPython interpreter แแแแฃแต แฐแแ แฅแแแ แ แ แแซแฎแฝ แแ แแ แฅแแฝแแแ exit() [ENTER], CTRL + Z for windows, CTRL + D for Mac, Linux or UNIX computers.
แ แแฃแญ python programs แ script mode แฅแแดแต แฅแแฐแแฐแแแ แ แฅแแซแแแข
Stay Tuned!
@python_pioneers
@python_pioneers
๐3
SCRIPT MODE
Interactive mode แจแแแแแ code test แแแตแจแ แ แแ แขแแแ แ แแ mode แแแ แแธแ codes saved แ แญแแแแข They are simply executed and their results displayed on the screen.
Python statements แฅแแฐ program save แแแตแจแแฃ you save those statements in a fileแฃ แจแแ python Interpreter แ script mode แ แแ แแ แจแแแแแ code execute แแตแจแ แฅแแฝแแแแข
For example, suppose you want to write a Python program that displays the following three lines of text:
My name is Abebe.
I am 25 years old.
I am a university student.
Programแกแ แแแแแแ แ แญแแต text editor แแแ แฅแแฝแแแแฃ แ แแ แตแแจแญแต แฐแแ programแกแ แจแแแแ แตแ file with the .py extension save แฅแแจแแแแแข
แแแณแ fileแกแ แ แแ แตแ save แ แญแแแ แฅแแ แ: ethio.py
แจแแแแแ program run แแแตแจแ แฐแแ แแฐ operating systemแก command-line แ แแแต fileแก แซแแ แต folder แแตแฅ แฅแแฐแแจแฐแแ แฅแแ แแแแก
This starts the Python interpreter in script mode and causes it to execute the statements in the file ethio.py. When the program finishes executing, the Python interpreter exits.
And here is the output:
...แฅแแแฅแแแโก
@python_pioneers
Interactive mode แจแแแแแ code test แแแตแจแ แ แแ แขแแแ แ แแ mode แแแ แแธแ codes saved แ แญแแแแข They are simply executed and their results displayed on the screen.
Python statements แฅแแฐ program save แแแตแจแแฃ you save those statements in a fileแฃ แจแแ python Interpreter แ script mode แ แแ แแ แจแแแแแ code execute แแตแจแ แฅแแฝแแแแข
For example, suppose you want to write a Python program that displays the following three lines of text:
My name is Abebe.
I am 25 years old.
I am a university student.
Programแกแ แแแแแแ แ แญแแต text editor แแแ แฅแแฝแแแแฃ แ แแ แตแแจแญแต แฐแแ programแกแ แจแแแแ แตแ file with the .py extension save แฅแแจแแแแแข
print('My name is Abebe.')
print('I am 25 years old.')
print('I am a university student.')แแแณแ fileแกแ แ แแ แตแ save แ แญแแแ แฅแแ แ: ethio.py
แจแแแแแ program run แแแตแจแ แฐแแ แแฐ operating systemแก command-line แ แแแต fileแก แซแแ แต folder แแตแฅ แฅแแฐแแจแฐแแ แฅแแ แแแแก
python ethio.py
This starts the Python interpreter in script mode and causes it to execute the statements in the file ethio.py. When the program finishes executing, the Python interpreter exits.
And here is the output:
My name is Abebe.
I am 25 years old.
I am a university student.
...แฅแแแฅแแแโก
@python_pioneers
๐1