New PyCharm user with existing Python project

Hallo

How do I create a PyCharm project from my existing Python project?  My Python project exists at a certain location on my hard disk that I do not want to change.

And my second question: How do I tell the PyCharm debugger to add command line parameters to the python.exe command line?

Thanks much for your help
Olaf

1 comment
Comment actions Permalink

Hi Olaf,

1. Just open the project root folder in PyCharm. It will create .idea folder in the project root making it a PyCharm project. Then you can create a new project interpreter, or use the existing one.

2. You can use Parameters or Interpreter options fields in run/debug configuration settings. Please see: https://www.jetbrains.com/help/pycharm/run-debug-configuration-python-unit-test.html#1

0

Please sign in to leave a comment.