Tutorials

we will learn Python . Why Python ? Python is a general purpose programming language. Hence, you can use the

Tutorial 1 : Let’s Start – Python

we will learn Python . Why Python ?

Python is a general purpose programming language. Hence, you can use the programming language for developing both desktop and web applications. Also, you can use Python for developing complex scientific and numeric applications. Python is designed with features to facilitate data analysis and visualization. and for sure its easy and it has a lot of libraries that you can use in your coding . lets start with how to setup python in our computers .

Stage 1 :

  1. Go to https://www.python.org/downloads/
  2. Installing Python
    1. If you are using Windows :
      1. Download Python 3.8.3 . In the Python installation box, just check the box to add Python to PATH as below:
    2. If you are using Mac OS X :
      1. Download Python 3.8.3
  3. Install the downloaded file .
  4. Create Folder in your desktop and name it MyProject .
  5. Download tutorial1.zip file.
  6. tutorail1.zip contains two Files : script.py and tutorial.py  .
  7. Extract Tutorail1.zip files into MyProject folder.
  8. Executing the script :
    1. In Windows :
      1. open command prompt  . A fast way to launch command prompt is to press the Win + R keys on your keyboard. Then, type cmd and press Enter or click/tap OK.
      2. type py then space then drag and drop the file script.py from Explorer onto the Command Line window and press enter
    2. In Mac OS X :
      1. Right-click the file script.py and select “Open With -> Python Launcher” from the context menu. then type python3 script.py
  9. Now we have create an environment to start coding .

 

Stage 2 :

  1. Writing the code
    1. In Windows :
      1. Right-click the file tutorial.py and select Edit with IDLE  
    2. In Mac OS X :
      1. Right-click the file tutorial.py and select “Open With -> IDLE
  2. here you will start writing your code .
  3. Follow My Instagram Story to learn step by step . Don’t rush and stay cool .
  4. write down first example then you have to execute the code .
  5. to execute the code . do the step that you did in stage 1 in step 8 .
  6. try to understand the code and the output .
  7. move to next example and execute one by one and understand it.
  8. if you face any problem . just send DM and stay cool.
  9. I will post more explanation at the end of the day .
  10. Enjoy your day.

 

Challenge :

Click here to Download the script


Buy Me a Coffee .
I Love coffee