Basic Python - setup

avatar

NaN years ago

Installing or updating Python on your computer is the first step to becoming a Python programmer. There is a multitude of installation methods and this article explains the best way to install Python on a machine so you can run and edit Python programs. You can do this before starting the learning, or you can leave it until you've gotten far enough in the roadmaps that you want to write some code. Python is free and open-source, available for all operating systems.

There are two ways to install and manage python packages,

  1. you can download official Python distributions from Python.org and then Install every package using a command on CLI interfaces.
  2. you can install a package manager such as anaconda which will install all the necessary packages and you will also get a GUI interface to install specialized distributions for scientific computing, the Internet of Things, and embedded systems.

There are also two ways to write and run python files, which have their own pros and cons,

  1. Write code on notepad or CLI interface then run it using commands, it interprets code faster but you have to learn commands.
  2. Write and run code on the GUI interface like Vscode and PyCharm. It is easier to write code and debug errors but interprets code slower.
Choosing the best tools can improve your productivity, if you are getting started in data science or artificial intelligence, it would be best to use a package manager with a GUI interface to write and run code.
approvedApproved by experts
Advance Topics

Neuton's Mission

We are a team of young and enthusiastic people who are passionate about education and want to help students to learn the skills they need to succeed in life. If you want to support us, please join our community.

phonephonephonephonemail