Quick Start Python 3¶
Python is a programming language so before learning anything we have to setup the enviroment so we can practice the programs. Plese install pyton 3 as given below.
1. Installation¶
Programming languages are supposed to be learn on computers. Fortunately now we have apps that can be used to learn python on smartphone. Due to lockdown many faculty members don't have access to the computer. So this programme is designed such that it can be completed on the smartphone.
1.1 Android Smartphone¶
Plese the Pydroid 3 IDE(Integrated development enviroment) from the playstore using the following link
Running a simple program In order to run a simple python program and test the installation please follow these stpes
- Open the pydroid 3 IDE
- Write
print("hello world!")
- Press the yellow buttion on the right bottom, you will see
hello world!
is printed on a terminal.
The strength of any programming language lies inside libraries, python has rich libraries bcs it has been around 30 years. To install libraries you need following app as well.
1.2 Computers/Laptops¶
Plese install anaconda python 3.x from the bottom of the following page according to your platform.
Warning
Tick the option of adding python to the path.
Running a simple program In order to run a simple python program and test the installation please follow these stpes
- Open the spyder app
- Type
python("hello world!)
- You can see
hello world
printed in output window.