Very simple Python: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== Installing Python on your computer == | == Installing Python on your computer == | ||
Python is open source software availble for free from [http://www.python.org/ www.python.org]. Version 2.7 is the current mature version that is widely supportly by other add-on modules, and is the one for which examples here are written. Python 3 is still under development and it currently lacks packages that are necessary for astronomy. | |||
Install version 2.7 using the method that's appropriate for the operating system on your computer from this link: | |||
<center> | |||
[http://www.python.org/download/ www.python.org/download/] | |||
</center> | |||
*[http://www.python.org/download/windows Windows] | |||
*[http://www.python.org/download/mac MacOS] | |||
*Linux operating systems you will usually have Python already installed. If modules are missing simply use the package installer from your distribution for most of them, or the command line "easy_install package_name" if it is not in the distribution archives. | |||
== Using Python in real time == | == Using Python in real time == | ||
== Using Python code as a standalone program == | == Using Python code as a standalone program == |
Revision as of 04:24, 7 February 2013
Installing Python on your computer
Python is open source software availble for free from www.python.org. Version 2.7 is the current mature version that is widely supportly by other add-on modules, and is the one for which examples here are written. Python 3 is still under development and it currently lacks packages that are necessary for astronomy.
Install version 2.7 using the method that's appropriate for the operating system on your computer from this link:
- Windows
- MacOS
- Linux operating systems you will usually have Python already installed. If modules are missing simply use the package installer from your distribution for most of them, or the command line "easy_install package_name" if it is not in the distribution archives.