Error in PyCharm with PySpark

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Error in PyCharm with PySpark

Mich Talebzadeh



I do not know why I am getting this error in Pycharm!




if __name__ == "__main__" :


  contract_json_path = os.path. \

    join("../", "../", "conf/contractterms_app.json")

    default_json_path = os.path.join(

    "../", "../", "tests/data/contractterms_data/input_data/default_app"





C:\Users\whg220\envs\PchEnv\python.exe C:/Users/whg220/repos/calc-bdv-bhw-python/src/mapping/

  File "C:/Users/whg220/repos/calc-bdv-bhw-python/src/mapping/", line 366

        join("../", "../", "conf/contractterms_app.json")


SyntaxError: invalid character in identifier


Process finished with exit code 1

Any suggestion will be appreciated




Disclaimer: Use it at your own risk. Any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on this email's technical content is explicitly disclaimed. The author will in no case be liable for any monetary damages arising from such loss, damage or destruction.