in python ,if
a.py
from b import bb
bb()
b.py
from c import cc
def bb():
do someting else
cc()
c.py
from d import dd
def cc():
do someting else
dd()
d.py
from e import ee
def dd():
do someting else
ee()
e.py
from f import ff
def ee():
do someting else
ff()
to Understood bb function,i must open 5 file,i was very faint .
if there any better way to read bb function.(a tools to read source code better)
thanks
The best way to import the
fffunction from thefmodule would be to use an import statement in your program:Or you could use the form:
EDIT:
If you are looking for tools to better read/navigate through the source code, I recommend creating a
tagsfile for your source code tree (using eitherctagsorptags.py).You then point a capable editor (like Vim or Emacs) to that file, and use the editor’s features to navigate your way through the code. For instance, using Vim,
Ctrl-]jumps to the definition of the symbol under the cursor.What editor are you using?