Beginner Python Tutorial _1b

While installing Python on Windows is not significantly different from Mac, here's how it is done. Let's get into it:

  • Visit python.org with your browser.
In the download section, you will see the latest version available to download. Your version may be different but do not worry as long as it is Python 3 you are good to go!
  • Click on the latest version of Python and scroll down to the bottom of the page. Click Windows Intaller to download.
  • After downloading, click on it to start the installer. 
  • Add python.exe to path and click on Customize installation

  • Leave all the default boxes selected in the "Optional Features menu", especially the pip and IDLE.  Pip is a package installer and IDLE is the development environment we are going to use later.
  • Click Next and leave all the default options selected as shown below. You can change the install location for easy identification.
Click Install and wait for it to complete the download.
  •  We will run Python from the IDE which is the development and learning environment.
  •  You can also hit the Windows key + r and type cmd, click enter to enter the command line
  •  We want to run the current version of Python we installed so type python3 and you will see it running.
  •  Anytime you see the 3 greater than symbols ">>>" it means you are in the Python interpreter so you can type a Python code and it will work. ex. try 2+3  and you're going to get an output i.e 5
  • But we are not going to be working in the Python terminal so you can type quit( ) and close the terminal. 
  • You can create a shortcut of the Python IDLE on the desktop because we are going to be using it frequently

 We are done installing Python on Windows, you can check out the next tutorial for some basic operations as we build our Python programming fundamentals. Follow to learn more.

If you have any questions you can leave them in the comment section and I will get back to you.  You've got this💪

Beginner Python Tutorial _1a

                        ☝ HOW TO INSTALL PYTHON ON MAC   


      Follow these steps to install python on your desktop:

  • Visit  python.org 
  • Find the download section and click on the latest version available to download as seen in the image. The current version here is Python 3.12 and it may differ at the time of your Download!
  •  Click on the latest Version of Python and scroll down to the buttom of your page. Click MacOS to download.


  •  Open the installer and click next until the end. You can customize and leave the default options selected and click install.
  •  When the installation is finished it opens the applications folder automatically. If you're not seeing this you can go to Finder, go to the Applications folder and you will see Python available.
  •  We will run Python from the IDE which is the development and learning environment.
  •  You can also hit Command + spaced bar and search for the terminal
  •  In the command line type python
  •  Since Mac computers come with a default Python installed you can type quit( )
  •  We want to run the current version of Python we installed so type python3 and you will see it running.
  •  Note; The default Python on Mac may not be able to run some programs we will be doing with python3. It is therefore important to make sure you are working with Python 3.
  •  Anytime you see the 3 greater than symbols ">>>" it means you are in the Python interpreter so you can type a Python code and it will work. ex. try 2+3  and you're going to get an output i.e 5
  • But we are not going to be working in the Python terminal so you can type quit( ) and close the terminal. 
  • In the applications folder click IDE and drag it to the dock to create a shortcut. We are done installing Python on Mac, you can check out the next tutorial on how to install Python on Windows Follow me to learn more.  You've got this💪



















Will AI replace humans?

Let's have a glimpse of it.

Artificial intelligence (AI) describes computer programs that are able to carry out sophisticated operations that were previously limited to human performance, such as problem-solving, thinking, and decision-making.

The question of whether AI will eventually replace humans has been debated on multiple occasions. However, there is a higher chance of job loss for those who are ignorant of the usage of AI. This argument concludes with the observation that individuals with a working knowledge of artificial intelligence, such as senior developers, find coding less stressful since they are familiar with the language and can work more quickly and efficiently to produce cleaner programs that include few to no errors with the help of AI. But, a beginner developer who only knows the fundamentals of programming will likely be ineffective when utilizing artificial intelligence for employment since they lack the necessary foundations. Operating in an environment where technology is the foundation, employees who can effectively use artificial intelligence (AI) will be able to replace workers with out-of-date abilities as AI is increasingly being used for regular activities, If one is able to use AI such as chatgpt to automate tasks quickly in a working environment, a worker with no idea of how to use such technology is at great disadvantage of being replaced. Learning and mastering a programming language or two, like Python programming is fundamental in succeeding in the digitalised world of AI and computer science. And this is why I gladly welcome you to my blog😊 All the best, happy learning world!

Python Programming Tutorial 15

 Error Handling Anytime we work with user input, we should make sure not only the data is valid and within the range we want, like what we d...