Change:
Run > Edit Configurations > Working directory,
which sets the working directory for a specific project. (This is on a Mac)
More Related Contents:
- PyCharm current working directory
- How can I safely create a nested directory?
- mkdir -p functionality in Python [duplicate]
- How do I get the path of the current executed file in Python?
- How to link PyCharm with PySpark?
- pip freeze creates some weird path instead of the package version
- Open file in a relative location in Python
- Set up Python on Windows to not type “python” in cmd
- Python: Platform independent way to modify PATH environment variable
- Too many different Python versions on my system and causing problems
- Src layout to dispense .src prefix in imports? Activate venv in PyCharm terminal for development installs
- How can I tell PyCharm what type a parameter is expected to be?
- Why use sys.path.append(path) instead of sys.path.insert(1, path)?
- How can I troubleshoot Python “Could not find platform independent libraries “
- Cannot find reference ‘xxx’ in __init__.py
- Basemap import error in PyCharm — KeyError: ‘PROJ_LIB’
- How to configure Python Kivy for PyCharm on Windows?
- PyCharm: Unresolved reference with Scapy
- PyCharm doesn’t recognize installed module
- Windows can’t find the file on subprocess.call()
- PyCharm and PYTHONPATH
- python subprocess Popen environment PATH?
- What is __path__ useful for?
- How can I safely create a directory (possibly including intermediate directories)?
- How can I extract the folder path from file path in Python?
- PyCharm hangs on ‘scanning files to index’ background task
- How can I import files in Python using sys.path.append?
- How to type hint a dictionary with values of different types
- What is the type hint for a (any) python module?
- Pycharm: run only part of my Python file