when importing python file in currently folder, pycharm may not find the links. just right click on the folder and set as sources root, then pycharm can validate the links.
os.path.abspath(path)輸入相對路徑,返回絕對路徑Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32Type "copyright", "credits" or "license()" for more information.>>> import os