Downloads and installs python 2 or 3

Share:

Description

Downloads and installs the latest version of python 2 or 3 for Windows.

Usage

1
2
  install.python(page_with_download_url = "https://www.python.org/downloads/windows/",
  version_number = 3, ...)

Arguments

page_with_download_url

a link to the list of download links for Python

version_number

Either 2 or 3. Version 2 will lead to download of v2.7.xxx

...

extra parameters to pass to install.URL

Details

Python is a programming language which has two versions under active development. Make sure you know which version is required for the code you have to run, or alternatively, make sure you are developing code that is fit for your chosen version of Python.

Value

TRUE/FALSE - was the installation successful or not.

Author(s)

Tal Galili and A. Jonathan R. Godfrey

Examples

1
2
3
4
5
6
## Not run: 
install.python() 
install.python(,3)
install.python(,2)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.