Python: How A Python Program Looks Like?
In this lesson, I will share with you how a typical python program looks like. Python program we call it python script. So how to write a python program we will learn in a future lesson. Now let me introduce some python program that you can create with python.
Python is a very popular language. we can use this language to solve plenty of problems in real life. we can use python in command line program, Desktop Application, Web Application, Big Data, machine learning, Artificial Intelligence and also in various kinds of scientific research.
These are the simplest programming example I am showing you.
- Command line Program: CLI ( Command Line Interface ) Program that we will run on our command prompt
inside this command line interface, we can run our python program using python and the following filename that we have in our directory.
Or we can use python command to run the python script that we write into the command line and see the output.
- Desktop Application: We can write a python program that we can run on our desktop computer. This kind of program or software we write using GUI ( Graphical User Interface) feature of python.
in this kind of program, the user will use this on their own computer. it’s called desktop application. we will learn how to create a GUI Application in Python in a later chapter.
okay, this is a very simple website that we created in python. we will learn about this in the future chapter.
Now we all know how a python program looks like and we have an idea about what we can create with python so in next chapter we will install python and set up our computer to write our own program. So see you in there.