Add up hierachy modules lookup to Python

Usually we created nested files so, optimun code order and trying to add better performance to our project we desing most frecuently used methods into modules so, here how we can access from bottom modules to up into our scratched code.

So just adding those lines in the top of our files we will able to access the up hierchies files modules

import sys
sys.path.append("..")

No comments:

Post a Comment

We appreciate meet you and know your opinion!

GIT

Today I am configuring the remote GIT repository over the shared LAN then some issues I found solving those for this way. remote: erro...