Code: Select all
import sys, os
current_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(current_dir, "..", "..", "..", ".."))
< /code>
In jedem Python -Skript habe ich: < /p>
import __root__
from dir1.dir2.lib import class1
from dir1.dir2.lib import function1
enthält:
Code: Select all
-----BEGIN PRIVATE KEY-----
xdxxdxdxdxddx84hxdxxdxdxdxddxpDRNf47ZAxdxxdxdxdxddxyAoPdT04xdx
xdxxdxdxdxddx84hxdxxdxdxdxddxpDRNf47ZAxdxxdxdxdxddxyAoPdT04xdx
xdxxdxdxdxddx84hxdxxdxdxdxddxpDRNf47ZAxdxxdxdxdxddxyAoPdT04xdx
xdxxdxdxdxddx84hxdxxdxdxdxddxpDRNf47ZAxdxxdxdxdxddxyAoPdT04xdx
-----END PRIVATE KEY-----