Python 3: Lesson 2 - Choosing the best Editor/Interpreter for you
Python 3: Lesson 2 - Choosing the best Editor/Interpreter for you

By CN00b | Python | 16 Sep 2019


Hello people,

As i said in the previous lesson, Python comes with his ows interpreter, called IDLE. It's a GUI( Graphical User Interface) and more fun than the cmd window.
To run IDLE, go in your Start Menu and type IDLE. This works same as the cmd window, but your have more options here, you can save, print, edit, modify, the text is coloured to understand more every component, error.

351665157-9cb93052010e8ae59383d4c29d4d3d7fba3a653d6aca2f696d5ef0880b501dbc.jpeg
If you type 2+2, you'll get the same result as in cmd window, but more friendly. If you type print("Hello Publish0x"), you' ll get the same result, but more coloured. If you have an error, is more easier to identify it.

351665157-bd4645efe6d40ab968b2018c78d6c3de68a6333841e5c04deb9e60de3d2ef74c.jpeg
But, don't worry, this is not the only editor for Python, there are more, for every operating system. In our case, for windows you can use Sublime Text 3, Notepad ++, PyCharm Edu, W3School online interpreter, etc.
I personally use PyCharm, Student edition and it's free and have the most basic stuff that you need.
Looks complicated, but is not at all, if you use only what you need and you can research it in time, to discover more options and features.
Why i use PyCharm? Because i like the ideea to "keep the code clean", meaning that i like to keep all my codes and files in a single place, not to start to search folders in my computer to find a file. Here i have all grouped in files, always at my left hand, you can work on n projects in the same time, etc. Also, it has an option to import any module you want or part of it. You can do this straight from the code, but why to do this to slow down? For me is like a table with keys, all grouped nicely and when i want one, i just pick it from there.
This was the idea of van Rossum too, to keep the code clean, to be easy and fun for everybody. :p
Important!! If you suddenly have a brilliant idea and you code in a text file, don't forget to save it in .py extension. So you can run it with Python.

And, this is how my PyCharm looks like. :) 

351665157-41ac682582abfebb334b60f34a3c6e292e40e59a379fdcc87db8a55023655ca5.jpeg

There are also editors and interpreters for mobiles, like QPython3, Pydroid3, DroidEdit, SL4A. Always choose the ones that does not require an internet connection and can run offline.

The best interpreter for you, is the one that fits you better. Even i recommend x or y, if you like z more, than you should choose z. And maybe in time, you'll build one that fits you better.

Maybe this looks boring for you, but the base is important. In the next lesson, i'll talk about the rules of Python, before getting into the real programming. This is only the warm-up, we'll have a lot of time to dance, later! :)

See you in the next lesson,

Cheers!

 


CN00b
CN00b

IT Hardware/ Software Noob Crypto Enthusiast Mountains Explorer


Python
Python

In this blog, i'll provide various lessons and tips for begginers and not only (later) about Python (version 3.xx), how to get started, how to use it, how to build an AI, etc. I'll try to cover more parts, but easy to understand, maybe 1-2 lessons/day.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.