[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Irv also posted to idledev, where he explained his particular need: He teaches a class with assignment to write a .py file with certain behavior. Submissions are in 1 directory. He would like to double-click to load a file and F5 to run it. Currently, he

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: In mac Terminal, 'python3 -m idlelib tem.py' opens tem.py without shell, just as on Windows. -- ___ Python tracker ___

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Double clicking in finder with current Mohave (10.14.6?) does same as described here. See Ned's comment (msg357667) for #38946. -- ___ Python tracker

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, I believe that this issue results from peculiarities of how macOS runs apps. Insight from you would be appreciated. macOS Sierra 10.2.8?, Python 3.7.3 (Did you use python.org installer?) On my Win10, multiple IDLE windows are cascaded to the right and

[issue39325] Original window focus when opening IDLE by double clicking Python file Mac

2020-01-13 Thread Irv Kalb
New submission from Irv Kalb : I have my Mac to open ".py" files with IDLE. If IDLE is not running, and I double click on a Python file, the Shell window opens, then the Python file I clicked on opens in front, but the Shell has keyboard focus. In order to edit or run the source file, I