Response to https://gist.github.com/Thomas-0001111111/e40b05c3ed0da41a3d7308b90ef8383f
Test any script that affects a system file using a local copy until it's complete. cd
to your project folder, then in the terminal:
cp /etc/hosts ./
Response to https://gist.github.com/Thomas-0001111111/e40b05c3ed0da41a3d7308b90ef8383f
Test any script that affects a system file using a local copy until it's complete. cd
to your project folder, then in the terminal:
cp /etc/hosts ./
#!/usr/bin/env python3 | |
# updated 2023-11-27 | |
# updated 2023-10-12 | |
# updated 2021 | |
# updated 2020 | |
# created 2018 | |
import sys | |
import hashlib | |
from urllib.parse import urlparse |
#!/usr/bin/env python3 | |
import re | |
from typing import Dict, List | |
from os import path | |
from urllib.request import urlopen | |
from string import ascii_uppercase | |
# from itertools import product | |
# from collections import Counter |
#!/usr/bin/env python3 | |
# Find rational approximations of irrational numbers | |
import math | |
from typing import List | |
from timeit import timeit | |
class Ratio: |