Pycharm Newbie: I don't want to create a new project directory for every python script
已回答
I'm a Pycharm Newbie.
I don't want to create a new project directory for every python script.
Is it possible to use pycharm to create a new python script w/o creating a new project (and a project folder)?
Thanks,
Marc B. Hankin
请先登录再写评论。
Hi Marc! What OS do you use? You can't create a new python script without creating a new project but you can create a command line launcher for PyCharm with *Tools | Create Command-line Launcher* and then from the command line (assuming you are on macOS or Linux):
you will create a Python script with first command and open it in PyCharm with second. Note that PyCharm will create a temporary project for this file but the project will be removed (except the file of course) after closing.
Hi Pavel! Thank you for replying. I'm using Win10 64 bit.
I used Pycharm to open a script I made using EditPadPro. Then I found the Tools menu. But the Tools menu did not include an option "Create Command-line Launcher".
Do you tech support people have telephones? Do you do remote desktop support?
Marc
Unfortunately the feature with command line launcher is not available on Windows. The only way to open Python script independently on Windows is to create some project and use it as a base to open different files across the machine.
Sadly no, you can contact our support team vie email pycharm-support@jetbrains.com if you have any specific questions.