Question

I was wondering how I could run a quickly application using pycharm. The way which I would hope to do it is instead of saying:

$ quickly run

In the terminal, I would Hope that I could instead just say something like

$ python bin/myapp.py

(That is the suggestion here, but it doesn't seem to work for me). That would mean I wouldn't have to do any weird setup on the python interpreters. However, if I need to, I can adjust pycharm's settings.

Était-ce utile?

La solution

Ok, I found the answer when looking to add an interpreter. go to run > edit configuration.

I don't know if this is necessary, but I just set the working directory for the project interpreter to be the application one (it might do this by default).

Down below that, there is a place with a + icon above it. Click there to add an external tool.

The necessary settings for that tool is program: "quickly" and parameters: "run" (both without quotes).

Again, I'm not sure if it's nessecary to set the working directory here, but I did it just to be safe.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top