DEV Community

Medea
Medea

Posted on

PythonIsCool - Introduction

Introduction

Table of contents

What is Python?
Why Python?
How to learn to code?
Why should you read this blog?
Where do you write Python code?


What is Python?

Python is a multi-purpose, programming language. It is easy to learn and is quite useful for beginner programmers. Python is easier to understand and comprehend, because the syntax is more like English and the indentation is legible. Adding to its simple code, Python has some features that can enable you to show simple animations. Those can be used to make games.


Why Python?

Adding to its facility, according to TIBOE Programming Index, Python is ranked 3rd in the most used programming languages. If you want to see how to make a game on Python or something like that, when you search it up on Google, you will most probably find many suitable tutorials on the first Google search page, as Python is a popular language. Python has won Language of the Year in 2007, 2010 and 2018 which makes it more fun to learn.


How to learn to code?

If you have this blog, learning Python will be quite easy for you. Luckily for you, this blog will start with the basics and gradually get harder. Just follow the steps and you will be an expert in no time.


Why should you read this blog?

Anyone who likes computer programming should read this, whether that's a child or an adult. If you want to learn how to write your own software rather than using someone else’s, this blog is the perfect blog to read. In the next few chapters, you will learn the basics, like where to write your Python code, to a bit more harder things, like the different kinds of loops and if statements, and how to use them.


Where do you write Python code?

The first step to producing a fabulous software is finding a suitable place for writing your code. There are many free IDEs that you can use.

One of them is Python IDLE. When you install Python, IDLE is also installed by default. This makes it easy to get started in Python. Its major features include the Python shell window(interactive interpreter), auto-completion, syntax highlighting, smart indentation, and a basic integrated debugger. IDLE is a decent IDE for learning as it's lightweight and simple to use. However, it's not for optimum for larger projects.

Another one is Atom. Atom is an open-source code editor developed by Github that can be used for Python development. Atom is highly customisable. You can install packages as per your need. Some of the commonly used packages in Atom for Python development are autocomplete-python, linter-flake8, python-debugger, etc.

The one I prefer to use is repl.it , it is used for small and big projects and has most of Python IDLE functions.


Thanks for reading! If you found this interesting or fun to read, follow me so you get a notification when the next chapter is posted!

Top comments (0)