Python is an interpreter based high level programming language.
Python’s popularity is due to the fact that it has a unique and varied style of writing (Syntax) as well as a large set of libraries. A library is a set of code that frees us from the hassle of writing the same code over and over again. We only receive one file where some code is written and with its help we spend our time on other activities.
The use of mathematics in all programming languages would be very limited or basic in which you should be able to find addition, subtraction, multiplication, division, and reminder.
Before the launch of Python we would need to create an environment for it and usually newcomers are more involved in these issues so I will try to make you aware of all its salient features.
First of all you have to go to the following link of python and download python and install it without any hassle.
The second most important thing you have to do is choose a text editor.
Generally all newcomers are advised to choose “Note Plus Plus“, you can easily Google it and download it.
If you are talking about the best code editor, then Microsoft’s Visual Studio code (also called VS code) which is second to none, then you must install it. You can also select Atom or Sublime in Code Editors.
Now it is the turn of the terminal ie command prompt, you cannot run your code without the terminal. So it is very important that you have a terminal (which is usually pre-installed).
Now we come to the part where we talk about the middle ground, which is called IDE. Although the code editor has all the features but we have to do a lot of things ourselves which is usually a nuisance but on the contrary all these features are already available in IDE and just a few clicks. By doing this you can set up the environment and run the program without typing any additional commands.
Python is the best IDE pycharm, but remember to check the system specifications before downloading it. Also VS code can be used even though it is a code editor but it has all the features of IDE. The third most popular choice is Spyder IDE, so you can choose it if you wish.
Python gives you one more option in the form of a notebook. The rate of use is very high among biathlon developers, so without discussing it, this whole article may be incomplete.
The notebook is slightly different from the IDE or editor. In it you can break the code into different parts and the output of each part will appear just below it and this is usually the first choice of most newcomers. You can install it as Jupyter Notebook, although you will need to use a terminal or command prompt to install or run it.
You can install it with the following command but you must have Python installed first
pip install notebook
And use this command to run it
jupyter notebook
Although newcomers usually have difficulty installing and sometimes they also have difficulty in executing the code, which is why newcomers are often discouraged and give up programming. Also suggest IDE or Code Editor.
The best site I find online is Ripple It. Although the online editor has some limited features, it is better to learn programming by using it.
0 Comments