Skip to content

Instantly share code, notes, and snippets.

View Deja-Vu1's full-sized avatar
🎬
keeps trying again

DejaVu Deja-Vu1

🎬
keeps trying again
View GitHub Profile
@Deja-Vu1
Deja-Vu1 / praytimes.py
Created August 9, 2021 12:21
Fix for the python code version 2 of the Pray Times algorithm http://praytimes.org/code/ (Berkin İlkan Seçkin)
#!/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)