First time here? Check out the FAQ!

Create a python project in a fast way

I create small python projects recently. They have only two or three files. I find the normal to create a project in wingpro is a little complex. First choose the python command, second add the directory, open a file windows, finally I must save the project file, I have to input the project name two times.

Is there a way to create a lightweight project? I think script or macro can help me, but no idea. The projects I want to create always use the same python env. I hope I only input the project name once and get the project work.

Maybe a command line agent is helpful too. I use vscode and sublime text, code <directory> or subl <diretory> can create a project very fast. But I can't find how to use or create a "wing" command to do such thing.

bai's avatar
asked 2022-07-01 01:40:35 -0500
edit flag offensive 0 remove flag close merge delete


By lightweight project, do you mean opening a code directory and working with it like you can do with VSCode? Wing currently does not support this, though we may add it in a future release.

You may be running into a bug if you need to enter the filename for the project twice. Could you make sure you're using the latest Wing release, try creating a project and then submit a bug report from Wing's Help menu if you need to enter the filename twice?

Wingware Support's avatar Wingware Support (2022-07-01 08:59:58 -0500) edit
add a comment see more comments

1 Answer


I would use Project > New Project, select the directory to use under Existing Directory, press Next, then Use Existing Python and select the one you want from the history drop down under either Command Line or Activated Env. Selecting the Python is skipped if the directory chosen contains a venv or pipenv, so in that case all you do is select the directory.

Wingware Support's avatar
Wingware Support
answered 2022-07-08 07:52:49 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer