Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-11 Thread Matthew Brush
@potholiday with the preferences @elextr mentioned to change, when you press F5 (or Build->Execute) in Geany it will execute your script in the terminal tab. What about that doesn't do what you want? It's not the _interactive_ Python shell, but it's what you describe and how any IDEs work. --

Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-11 Thread potholiday
Closed #1823. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1823#event-1568508953

Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-10 Thread elextr
@potholiday I pointed to the Python documentation because AFAICT there is no way of making Python do what you want. And as I pointed out, Geany knows about talking to a bash shell, not a Python shell, since a bash shell is language independent and Geany is a multi-language tool, not just a Pyth

Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-10 Thread potholiday
``` then start the repl by running python in the builtin terminal and then use the Send selection to Terminal ``` I want to use Geany as a full blown python IDE. I already have a keybinding `Alt+Shift+F5` for sending selected lines to terminal. This is currently how I run python script. If I w

Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-10 Thread Matthew Brush
It doesn't make much sense to run a script/file in an interactive interpreter. If you just want to send text to the Python REPL, then start the repl by running `python` in the builtin terminal and then use the `Send selection to Terminal` menu item/keybinding. If you just want to execute your sc

Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-10 Thread potholiday
``` Maybe the -i option is what you want? ``` Tried it, I want a docked terminal/console . This is not a solution I want ``` If you can figure out a command to do what you want you can set Edit->Preferences->Terminal->Execute programs in the VTE and Don't use run script to run the command in th

Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-10 Thread potholiday
``` Maybe the -i option is what you want? ``` Tried it, I want a docked terminal/console . This is not a solution I want ``` If you can figure out a command to do what you want you can set Edit->Preferences->Terminal->Execute programs in the VTE and Don't use run script to run the command in th

Re: [Github-comments] [geany/geany] Interactive python console in status bar for execution of python scripts? (#1823)

2018-04-10 Thread elextr
Looking at [Python documentation](https://docs.python.org/3/using/cmdline.html) how would you run a file in an interactive console? Maybe the `-i` option is what you want? If you can figure out a command to do what you want you can set `Edit->Preferences->Terminal->Execute programs in the VTE`