Search code examples
pythonprojectpycharm

How do I import/add an existing Python file to a PyCharm project?


How do I import/add an existing Python file to a PyCharm project?


Solution

  • Copy the files to some directory under the project root using your favorite file manager or add the directory containing your files to the project using Settings (Preferences on Mac) | Project Structure | Add Content Root.