Archive for the 'Python modules' Category

Calculate sunrise and sunset with PyEphem

PyEphem (from the Greek word ephemeris) is the way to calculate the positions of all sorts of astronomical bodies in Python. Continue reading ‘Calculate sunrise and sunset with PyEphem’

Modules in Python

What is a Python module?

A module in Python is a collection of code that can be used in other programs. You can think of a module as being like a toolbox, where another program can import all or just a few of the tools found in the module. Here are some reasons to use modules, and some examples of their use.
Continue reading ‘Modules in Python’