Python import
Jump to navigation
Jump to search
Python import is way to keep the Python subroutine(s) in separate file(s), in order avoid repetition of the same subroutine in various programs.
In the simple case, if the routine is called ado and is stored in file ado.py, the import can be performed with command
from ado import ado