Skip to content

Instantly share code, notes, and snippets.

Start year End year Number of days of Pontificate (max) English name Place of birth Age at start of papacy Age at end of papacy Country Country_clean
2025 Leo XIV Chicago 69 Chicago USA
2013 2025.0 4422 Francis I Buenos Aires 76 88 Buenos Aires Argentina
2005 2013.0 2870 Benedict XVI Marktl am Inn, Bavaria, Germany 78 85 Germany Germany
1978 2005.0 9658 John Paul II Wadowice, Poland 58 84 Poland Poland
1978 1978.0 33 John Paul I Forno di Canale, Veneto, Italy 65 65 Italy Italy
1963 1978.0 5521 Paul VI Concesio, Brescia, Italy 65 80 Italy Italy
1958 1963.0 1678 John XXIII Sotto il Monte, Bergamo, Italy 76 81 Italy Italy
1939 1958.0 7156 Pius XII Rome, Italy 63 82 Italy Italy
1922 1939.0 6209 Pius XI Desio, Lombardy-Venetia, Austrian Empire 64 81 Austrian Empire Italy
@cavedave
cavedave / may1st.ipynb
Created May 8, 2025 12:35
may1st.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#
# Python script to create USA flag using turtle.
# Author - https://www.pythoncircle.com
# Original Author - https://www.codesters.com/preview/6fe8df0ccc45b1460ab24e5553497c5684987fb5/
import turtle
import time
from PIL import Image
import math
@cavedave
cavedave / dictionary_turkey_quoted2.txt
Last active April 24, 2025 16:16
Turkey in European languages
abk grey
sqi sea rooster pink
ara bibi tan
hye grey
de-at yellow
eus indian yellow
bel indian yellow
bos ćùrān tan
bre lightblue
bul swanky bird blue
@cavedave
cavedave / bat_etymology_dataset.csv
Last active April 22, 2025 18:15
Bats have crazy words for them in languages I started with this https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fapnha37a0fk51.jpg from a university. and added some more languages. Code is a copy of https://github.com/cainesap/mapMakeR/tree/master/etymologyMaps updated for new python
lang iso word translation meaning_group color source
Spanish spa murciélago little blind mouse blind_mouse lightblue https://en.wiktionary.org/wiki/murciélago
Portuguese por morcego little blind mouse blind_mouse lightblue https://en.wiktionary.org/wiki/morcego
Catalan cat ratpenat winged rat winged_rat yellow https://en.wiktionary.org/wiki/ratpenat
Galician glg morcego little blind mouse blind_mouse lightblue https://en.wiktionary.org/wiki/morcego#Galician
Basque eus saguzar old mouse old_mouse skyblue https://en.wiktionary.org/wiki/saguzar
French fra chauve-souris bald mouse bald_mouse skyblue https://en.wiktionary.org/wiki/chauve-souris
Italian ita pipistrello evening creature evening_creature orange https://en.wiktionary.org/wiki/pipistrello
Romansh roh utschè mezmiur unknown grey https://en.wiktionary.org/wiki/utschè_mezmiur
German deu Fledermaus flutter mouse flutter_mouse lemonchiffon https://en.wiktionary.org/wiki/Fledermaus
@cavedave
cavedave / football.ipynb
Created February 23, 2025 13:43
Football.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cavedave
cavedave / eggs.py
Last active May 13, 2025 16:06
usa egg prices
import requests
import pandas as pd
def download_data(url, filename):
"""Downloads data from a given URL and saves it as a CSV file.
Args:
url: The URL of the data to download.
filename: The name of the CSV file to save the data to.
@cavedave
cavedave / walks.ipynb
Last active February 23, 2025 13:53
walks.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cavedave
cavedave / ukincome.ipynb
Last active May 15, 2025 19:09
ukincome.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cavedave
cavedave / dictionary_bat.txt
Last active December 28, 2023 18:03
MAke map of etymology of the word bat in european languages. Code from Most names gotten from here https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fapnha37a0fk51.jpg Some gotten from wiktionary https://en.wiktionary.org/wiki/yarasa code a slightly modified version of https://github.com/dd52/mapMakeR/tree/master/etymologyMaps I am sure …
abk, ?, grey
ara, day blind, lightyellow
aze, night bird, orange
bel, leather one, turquoise
bos, blind mouse, lightgreen
bre, blind mouse, lightblue
bul, sticking one, blue
cat, winged rat, yellow
cau, ?, grey
ces, night flyer, lightgreen