When writing a program in both Ruby and Python, the way to read the external source code may be confused as "Which is which?". It is a memorandum for such a case.
python
require './foobar'
require
python
from . import foobar
from
and before ʻimport`.In the case of Python, there are related concepts such as "packages", but this time I will not touch on those items.
Recommended Posts