Very simple Python

From AstroEd
Jump to navigation Jump to search

Installing Python on your computer

Python is open source software availble for free from 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.

Using Python in real time

Using Python code as a standalone program