First time here? Check out the FAQ!

Revision history  [back]

Revision 1

is there a way to run Wing IDE in the current VE, on a single script file, without creating and saving project files?

I have a number of simple, single-file scripts, to be run in the currently-open Virtual Environment. IDLE handles this case simply and naturally: just hand it the script file, and off it goes. It doesn't need to clutter the folder with project files.

Wing, however, will not run when that environment is active. It has to be invoked from outside that environment. That means creating a project file, to specify the environment (actually, the full path and name to a batch file that activates the environment), and to tell Wing that only that specific .py file, among the many in that folder, is relevant.

Is there some command-line parameter I can use to make command-line usage as simple as that for IDLE? Wing shouldn't have to use the current environment for itself, just for the script it's debugging. And it shouldn't need to save project files, cluttering up the current folder, to debug it, either.