How to install Python and Python packages

How to install Python and Python packages


BACKGROUND

The Codecademy environment allows you to enter Python code and receive feedback on whether or not the code you entered is correct for a given exercise. In this article, we’ll walk you through how to install Python for object-oriented programming so that you can write and run Python code on your computer!
If your needs are different and you want to use Python to analyze large sets of data, we recommend the following Codecademy resource:

INSTALLING PYTHON

To install Python, follow these steps:
1:-Navigate to the Python downloads page:-https://www.python.org/downloads/
2:-Click on the link/button to download Python Latested vervison.
3:-Follow the installation instructions (leave all defaults as-is).
4:-Open your terminal again and type the command cd. Next, type the command python. The Python interpreter should respond with the version number. If you’re on a Windows machine, you will likely have to navigate to the folder where Python is installed (for example, Python27, which is the default) for the python command to function.

RUNNING PYTHON CODE

Congrats! You should have Python 2.7 installed now. Let’s run some Python code!

Comments

Popular posts from this blog

Laptop turn on but display not coming

Overworking Fan

Hp laptop caps lock blinking and screen not showing.