##// END OF EJS Templates
See source scripts from the script directory at diferent PCs
imanay -
r144:145
parent child
Show More
@@ -1,2 +1,9
1 import os No newline at end of file
1 2 import sys
3 No newline at end of file
2 sys.path.insert(0,'/home/redes/workspace/absroot/source/abspy/abscontrol') No newline at end of file
No newline at end of file
4 path1 = os.getcwd()
No newline at end of file
5 lst1 = path1.split("/")
No newline at end of file
6 lst1.remove("scripts")
No newline at end of file
7 lst1.append("abscontrol")
No newline at end of file
8 path2 = "/".join(lst1)
No newline at end of file
9 sys.path.insert(0,path2) No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now