This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
unique = [] | |
check = [] | |
k = 50 #These need to be estimated for particular languages but this is a base estimate | |
b=0.4 # | |
for x in range(1, 100000, 100): | |
unique.append(k*(x**b)) | |
check.append(x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pdfplumber | |
def is_bold_font(char): | |
return "bold" in char['fontname'].lower() | |
def parse_pdf_to_dictionary(pdf_path): | |
term_definition_dict = {} | |
term = "" | |
next_term = "" | |
definition = "" |
NewerOlder