Python is a very easy and useful programming language that is widely used in web development, data science, artificial intelligence, automation, and much more. It is quite easy to learn, and you don't need any prior experience or programming knowledge. However, if you have even a little programming background, you can learn it very quickly.
Origin and Development of Python
Python programming was created by Guido van Rossum in the 1980s, but it didn't gain much traction at the time. Guido wanted to create a language that was easy to read and write, a successor to the ABC language. Therefore, work on it resumed in 1989, and it was officially released in 1991. Interestingly, its name doesn't come from a snake, but from the comedy group Monty Python's Flying Circus.
Development in Python
Python 1.0 (1991)
It was designed to be simple and easy to read, with basic features like functions, modules, and core data types. It also had automatic memory management capabilities.
Python 2.0 (2000)
This version received considerable acclaim and was launched with several improved features, including list comprehensions, garbage collection, and support for a limited Unicode format.
Python 3.0 (2008 to present)
This is an enhanced version of the previous 2.0, with support for all Unicode formats, improved integer handling, and enhanced input-output capabilities. This version is currently used extensively in all fields.
How to Use and Start Programming with Python?
There are several ways to get started as a beginner in Python.
Option A: Start using an online editor
If you don't want to go through the entire setup process, you can use an online editor to write and run your programs. This is the easiest and free way to learn Python. Some applications that are helpful to use are:
- Replit
- Programiz - Python Online Compiler
- Google Colab
etc.
Option B: Install on your computer
To set up Python on your local system, go to the official Python website and download it.
This is also my recommendation because it will allow you to save the file locally, which you can then access, edit, reuse the code, etc., at any time in offline mode.
During installation, you should select the "Add Python to PATH" option to set up the environment for running Python programs.
Once your setup is complete, open CMD (command prompt) as an Administrator and run the following command.
python --version
If it shows the version name that means it is properly installed.
Now you need an editor to write and run your programs. For this, you can use IDLE (which comes with Python) or VS Code. However, VS Code might be a little difficult for beginners.
How to Write the First Program in Python?
If you truly want to learn, create a separate folder on your local system where you can store all the Python files and projects you're working on. This way, you won't have to search for any files whenever you sit down to study or practice.
- Once you are ready to start it, search and open IDLE or VS in your local system.
- Go to "File" and click on "New file"
- Type: print("Quillix Blogspot") and save it in your Python folder.
What is "print" function?
What is Syntax?
In Python or any programming language, syntax is a set of rules that helps the user write code in a way that the computer can understand and execute.
How to pass comment in Python?
Comment is the most important part of code because it helps the coder quickly understand the lines of code. Also, it is not read by the Python interpreter. For that we use Hash tag (#) to write comment.
To write multi-line comments, we can use triple quotes ("""). Generally, they are used for multi-line text, but the hash symbol (#) is the most reliable way to write comments.
What is Variable?
A variable is like a container that stores a value. The value can be text, a number, a symbol, or an alphanumeric value.
Example
Read More: IMAP and POP3 Difference
What is Data Types and How many use in Python?
{} or set().- Keys must be unique
- Keys must be immutable (e.g., string, number, tuple)
- Values can be of any data type
- Defined using
{}
dict.keys():Returns all keysdict.values():Returns all valuesdict.items():Returns key-value pairsdict.get(key):Safely get a value
- byte: write using "b" and it is immutable (cannot be changed) like x = b"Hello"
- bytearray: similar to byte but editable. x = bytearray(5)
- memoryview: provide a view of binary data.
- Default function return value
- Placeholder for variables
- Optional parameters
Conclusion
I have tried to present this Python tutorial through my blog in a way that is helpful and easy to understand for all beginners. However, this is neither the beginning nor the end of learning Python.
We will continue this tutorial and move toward more advanced topics in the future. I will also do my best to answer all your questions and comments. If you enjoyed this post, please share it with others as well.

