Skip to content

Instantly share code, notes, and snippets.

View azanly's full-sized avatar

Azanly azanly

View GitHub Profile
@zsmahi
zsmahi / praytimes.py
Created September 21, 2012 14:49
a simple python script showing how to calculate praytimes
#!/usr/bin/env python
# compatible with python 2.x and 3.x
import math
import re
'''
--------------------- Copyright Block ----------------------
praytimes.py: Prayer Times Calculator (ver 2.3)