Learn all the basics of python – Python beginners, let’s learn together (1)

Learning doesn’t stop, at any age.

Learning a little each day adds up. 

As a working mom with three kids, many of my families and friends are suggesting that I should pick one of it, career or family?  Indeed, it’s hard to maintain both career and family at the same time. However, it’s still possible. Unless you have a job that is really consuming many of your times and energy, otherwise, it is possible.

Technology is transforming our world at a breakneck pace. I believe that we should never stop learning, especially if it is something that will help us advance in our careers. With just a little bit of learning each day, we will make significant progress one day.

Here I am, a working mother of three who has decided to learn Python. Let’s learn it together if you’re interested. Every day, a little more, and we’ll all grow together. I will post what I have learnt occasionally here. Hopefully it can also help some of you.

Let’s get started!

1. Let’s download python software. Open below link and download a suitable version of python onto your machine.
https://www.python.org/downloads/

2. Download Python IDE & Code Editors. There are several selections for you out there, including PyCharm, Spyder,  Jupyter Notebook. I have downloaded the first two and found Spyder is user friendly for beginners and PyCharm is more for an advanced learner. However, it’s my personal feeling, you can look it up before deciding which one to use. Or, you could also download both and give it a try yourself.

3. Writing our first script. I am using Spyder. If you are using another editor, you would need to find the location of these icon and the steps will be similar.

Click on new file icon, the green circle in below screenshot. And paste or type below code into the editor (circled in Red). Click on the run file icon on top (the green triangle). The output Hello World! will display on the console. (Circled in blue).

print(“Hello World!”) #Code for you to copy and paste

Since we are here, the above code contains Python comment. You write inline comments in the same line of your code. For this, write a ‘#’ and a space followed by some single line text. “The Code for you to copy and paste” is a comment. When you execute the code, only print(“Hello World!”) will run and the comment is just for you to understand the code easily.

Yeah! We got our first script running!! Way to go!

1 thought on “Learn all the basics of python – Python beginners, let’s learn together (1)”

  1. Pingback: Learn all the basics of python – Python beginners, let’s learn together (2) – XRKnows

Comments are closed.