Adding files to a newly created empty python project Follow
I just downloaded Pycharm and created a new empy project.
How can I add/load/insert existing py file to the new project?
I was expecting to see a menu item such as: 'add files to project' or somthing like that.
Please sign in to leave a comment.
If you already have existing code, you should open the directory with the
code using "Open Directory" action instead of creating a new empty project.
Alternatively, you can copy your code to the project directory using any
file manager, or open the existing file in PyCharm using "Open File" and
use the "Copy" action (F5) to copy it to the project directory.
"Develop with Pleasure!"
This is a disappointing. Sometimes I have an existing folder and sometimes I just want to add one existing file to my current project. Is there really no way to do that, I am amazed at how much time I have spent googling adding an existing file, This should be a no brainer
If you're on a mac you can create a symlink
drag and drop the file in the middle
"...drag and drop the file in the middle..."
Yes that gets the file into PyCharm but not into the existing project.
I agree with @Jgiganti
that this should be a no brainer yet it is anything but easy to do.
Here is how you add files to an existing project. I just happened to stumbled upon it.
Why can't you create "add file/folder" link to existing project?
Or even easier, a plus button in the drop-down when you right-click project name.
That way it's 2 clicks vs 8.
If you want to expand the adoption of your platform, make it easier for uses to add to your platform.
This is really a little bit annoying.
Should be very easy to implement and i am trying to add a file now for over half an hour.
The Solution to go over "Settings" is not acceptable.