I downloaded python now what.
In order to use Python, it must first be installed on your computer. Follow these steps.
Go to the python website www.python.org and click on the 'Download' menu choice.
Next click on the Python 2.6.5 (note the version number may change) Windows Installer to download the installer. If you know you're running a 64-bit os, you can choose the x86-64 installer.
Be sure to save the file that you're downloading.
Once you've downloaded the file, open it. (You can also double-click on it to open it.)
You may get a warning that the file is executable. Just click ok at this prompt.
Once the installer starts, it will ask who to install the program for. Usually installing for all users is the best choice.
Next, it needs to know where to install the file. The default choice is fine.
You don't need to install the entire package, but we did.
It will take a while to install.
Click 'Finish' to exit the installer.
After installed, you should now have a Python menu choice. Start the program by choosing IDLE (Python GUI)
This starts the python shell. You can type in simple commands to see how they work. Try typing the following:
In order to do more elaborate programs, normally people store all the commands in a file. To open a file to use in this way, go to File -> New Window.
In this file enter your print command.
Save your file by going to File -> Save.
Give the file a name and put the .py suffix on it.
Run your program, by going to Run -> Run Module.
I downloaded python now what.
Before you start, you will need Python on your computer.
Check whether you already have an up to date version of Python installed by entering python in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any Python 3.x version will do, as Python makes every attempt to maintain backwards compatibility within major Python versions. Python 2.x and Python 3.x are intentionally not fully compatible. If python starts a Python 2.x interpreter, try entering python3 and see if an up to date version is already installed.
On Windows, try py first - this is the relatively recent Python Launcher, which has a better chance of avoiding some of the path problems that might occur because on Windows programs don't install into any of the small set of common locations that are searched by default. The Python launcher can also let you select any of the various versions you may have installed from a single command.
If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Please see the Python downloads page for the most up to date versions of Python. They are available via the yellow download buttons on that page.
The most stable Windows downloads are available from the Python for Windows page. On Windows you have a choice between 32-bit (labeled x86 ) and and 64-bit (labeled x86-64 ) versions, and several flavors of installer for each. The Python core team thinks there should be a default you don't have to stop and think about, so the yellow download button on the main download page gets you the "x86 executable installer" choice. This is actually a fine choice: you don't need the 64-bit version even if you have 64-bit Windows, the 32-bit Python will work just fine.
If you're running Windows XP : a complete guide to installing ActivePython is at Python on XP: 7 Minutes To "Hello World!". ShowMeDo has two videos for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions. Note that the python.org releases only support versions of Windows that are supported by Microsoft (at the time of the release), so no recent release from python.org can be used on WIndows XP.
See the Python for Mac OS X page. MacOS from 10.2 (Jaguar) to 10.15 (Catalina) includes a system version of Python 2, but it is best not to consider this the Python to use for your programming tasks - install a current Python 3.x version instead. MacOS after 10.15 (Catalina) will not include a default system Python.
For Red Hat, CentOS or Fedora , install the python3 and python3-devel packages.
For Debian or Ubuntu , install the python3.x and python3.x-dev packages.
For Gentoo , install the '=python-3.x*' ebuild (you may have to unmask it first).
For other systems , or if you want to install from source , see the general download page.
BeginnersGuide/Download (last edited 2019-11-10 13:28:18 by MatsWichmann )
The Codecademy site provides you with a development environment already set up for you to complete exercises and run your code. Now that you’ve learned how to code in Python, let’s go through the process of setting up your development environment on your computer so that you can write your own applications.
While you took the Python Codecademy course, you’ve been submitting code to us which we have interpreted, run, and then sent the results back to you. This article will walk you through how to set up Python and execute code on your own computer. Sounds intimidating, but there are some nice tools to help you out that we’ll introduce you to. You’ll be flying in no time.
Why build outside of Codecademy? The world of programming is massive, and it’s impossible to teach everything in one place. While Codecademy is excellent for teaching lessons, it also has limitations. For instance, it’s difficult to create large projects and share them with the world using only the tools found in Codecademy’s Python course. This guide will teach you:
How to download and install python How to run python from the command line How to install python libraries using pip, a popular package manager for python (we’ll explain what that means!)
When you learned using the Codecademy course, you wrote the solutions in your web browser and submitted the data to us so you did not need to have Python installed on your computer. Now, you’re going to write and run actual programs on your computer.
Visit the official Python downloads page and find the most recent release of Python 2.7 that corresponds to your OS (operating system).
Make sure to download Python 2.x and not Python 3.x. Although Python 3 has a higher version number, it isn’t completely compatible with Python 2, the version you learned in the Codecademy course. Both versions are widely used and actively updated.
After your download has completed, launch the installer. This may require that you unzip the file first depending on the version of the installer you downloaded. Follow the instructions provided by the installer to complete your Python installation.
What did I just install?
Computers read and execute code based on machine language which is stored in hexadecimal format. It is virtually impossible for a human to write in machine language and each processor has its own version.
To make programming simpler, human-readable languages like Python were invented. The files you just installed include a Python interpreter. This interpreter converts your human-readable Python code into instructions that the computer can act on.
Once you have downloaded Python, you should be able to pull up your computer’s terminal and start running it. On Windows, search for a program called “cmd” and then launch it If you’re on a Mac or a Linux environment look for and launch the program “terminal.” You should have a command-line prompt that looks similar to this:
If you downloaded Python properly, you can just type python into the prompt and hit enter to get a result like the below:
From here we can type in Python code and watch it be interpreted for us on the fly. Go ahead and type some simple stuff in and watch Python work right in front of you:
The command line is useful for checking simple code, but if you’re looking to build something more involved, you’ll benefit by starting with a text editor. Let’s exit out. We’ll make our own files and return to the command line