This is the United Nations World Population Prospects 2019 Dataset, cleaned and formatted as CSV.
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
from functools import partial | |
from imaplib import Int2AP | |
from starlette.responses import JSONResponse | |
from starlette.applications import Starlette | |
from starlette.routing import Route | |
import httpx | |
import json | |
import pydantic as pd | |
import random |
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
Development Status :: 1 - Planning">Development Status :: 1 - Planning | |
Development Status :: 2 - Pre-Alpha">Development Status :: 2 - Pre-Alpha | |
Development Status :: 3 - Alpha">Development Status :: 3 - Alpha | |
Development Status :: 4 - Beta">Development Status :: 4 - Beta | |
Development Status :: 5 - Production/Stable">Development Status :: 5 - Production/Stable | |
Development Status :: 6 - Mature">Development Status :: 6 - Mature | |
Development Status :: 7 - Inactive">Development Status :: 7 - Inactive | |
Environment :: Console">Environment :: Console | |
Environment :: Console :: Curses">Environment :: Console :: Curses | |
Environment :: Console :: Framebuffer">Environment :: Console :: Framebuffer |
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 ~/work/e/gprof2dot.py -f pstats exam_output2.dat | dot -Tpng -o exam_output2.png |
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
# -*- coding:utf-8 -*- | |
import mock | |
from not_change_work import work | |
with mock.patch("not_change_source.add") as m: | |
result = work(1, 2) | |
print(result) | |
print(m.called) | |
# [1, 2] |
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
package eg | |
func foo() string { | |
return "foo" | |
} | |
func Bar() string { | |
return "Bar" | |
} |