Skip to content

Instantly share code, notes, and snippets.

@nomissbowling
Created May 6, 2022 05:34
Show Gist options
  • Save nomissbowling/8cb188158ddb2bdb4214b2591ac4a8d5 to your computer and use it in GitHub Desktop.
Save nomissbowling/8cb188158ddb2bdb4214b2591ac4a8d5 to your computer and use it in GitHub Desktop.
_test_meta_.py
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
'''_test_meta_
https://www.youtube.com/watch?v=GjbWHLB5zMA
https://www.youtube.com/watch?v=n6EPso6RacU
https://docs.python.org/ja/3/library/importlib.html
https://docs.python.org/ja/3/reference/import.html
https://cocu.hatenablog.com/entry/2013/11/02/233421
https://code-examples.net/ja/q/102433
https://yiskw713.hatenablog.com/entry/2021/06/25/200000
https://atmarkit.itmedia.co.jp/ait/articles/2002/18/news007.html
https://blog.imind.jp/entry/2020/05/05/112729
https://atas.hatenablog.jp/entry/2015/07/19/212055
http://ichitcltk.hustle.ne.jp/gudon2/index.php?pageType=file&id=python_builtins.md
https://note.nkmk.me/python-dir-builtins/
https://jablogs.com/detail/43749
https://jpdebug.com/p/1556434
https://python-reference.readthedocs.io/en/latest/docs/functions/__import__.html
https://k-ptl.hatenablog.com/entry/2021/02/25/Python%E3%81%AE%E5%A4%89%E6%95%B0%E7%A9%BA%E9%96%93%E6%B1%9A%E6%9F%93%E3%81%A8%E3%81%AE%E6%88%A6%E3%81%84%E3%83%BB%E5%AE%8C%E7%B5%90%E7%B7%A8_~_noglobal
https://learntutorials.net/ja/python/topic/249/%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%81%AE%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88
http://docs.daemon.ac/python/Python-Docs-2.5/lib/built-in-funcs.html
https://odanny.com/tech/20210206-destroy-python/
https://atmarkit.itmedia.co.jp/ait/articles/1704/28/news041_3.html
https://qiita.com/Alice1017/items/354935a1779faab982a4
https://qiita.com/yasuo-ozu/items/7e4ae538e11dd2d589a8
https://codechacha.com/ja/dynamic-import-and-call/
https://www.codetd.com/ja/article/11690984
https://tell-k.github.io/pyconjp2016/#1
https://www.slideshare.net/ssuser38b704/ll-lang-blackmagic
https://learntutorials.net/ja/python/topic/286/メタクラス
https://www.yunabe.jp/docs/python_metaclass.html
https://qiita.com/y518gaku/items/1a7b7acde7d9b7d3cf05
https://code-examples.net/ja/q/186a3
https://tarosky.co.jp/tarog/1000
'''
import sys, os
# np = globals()['__builtins__'].__import__('numpy', globals(), locals(), [], 0)
np = __import__('numpy')
# np = importlib.import_module('numpy')
def test_meta():
print(np.linspace(0, 9, 10))
if __name__ == '__main__':
test_meta()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment