2014-04-15から1日間の記事一覧
Python defaults to import module relatively. Here is description of python's module search order. Give example: $ mkdir -p /tmp/abs-import-test/{foo,bar} $ cd /tmp/abs-import-test $ touch {foo,bar}/__init__.py # make foo and bar as a pytho…