Skip to content

Commit dc6e27e

Browse files
committed
path changed
1 parent fd5f15c commit dc6e27e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

__pycache__/explain.cpython-37.pyc

59 Bytes
Binary file not shown.

explain.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import os
2+
#
3+
# path= os.path.join(os.getcwd(),"explainx/lib")
24

3-
path= os.path.join(os.getcwd(),"explainx/lib")
5+
6+
from pathlib import Path
7+
path= Path(__file__).parent.absolute()
8+
path= os.path.join(path, "lib")
49
import sys
510
sys.path.append(path)
611
print(path)

0 commit comments

Comments
 (0)