Jack Jansen | 7cc5735 | 1998-08-18 14:54:11 +0000 | [diff] [blame^] | 1 | "Run as Python" -- a BBEdit extension to make the Python interpreter execute the |
| 2 | contents of the current window. |
| 3 | |
| 4 | version 0.2.3, 18 september 1996 |
| 5 | |
| 6 | contents: |
| 7 | - "Run as Python" -- the extension |
| 8 | - PythonSlave.py -- the "slave" script that handles the AppleEvents |
| 9 | |
| 10 | - source -- source code & CW9 project for the extension |
| 11 | |
| 12 | quickstart: |
| 13 | - drop "Run as Python" in BBEdit extensions folder |
| 14 | - double-click PythonSlave.py |
| 15 | - start BBEdit |
| 16 | - type some code |
| 17 | - go to Extensions menu: "Run as Python" |
| 18 | - be happy |
| 19 | |
| 20 | warning: |
| 21 | since PythonSlave.py runs its own event loop and we have no interface |
| 22 | to SIOUX you *cannot* copy from the console. Duh. |
| 23 | |
| 24 | extra feature: |
| 25 | while PythonSlave.py is running you can still double-click Python |
| 26 | documents, they will get executed as if Python was not already running. |
| 27 | |
| 28 | bugs: |
| 29 | perhaps |
| 30 | |
| 31 | acknowledgements: |
| 32 | - Thanks to Joseph Strout for valuable input and beta testing. |
| 33 | - Thanks to Mark Roseman for providing code that can launch |
| 34 | PythonSlave.py from BBEdit. |
| 35 | |
| 36 | |
| 37 | Have fun with it! |
| 38 | Please report bugs, or fix 'em. Suggestions are always welcome. |
| 39 | |
| 40 | Just van Rossum, Letterror |
| 41 | <just@knoware.nl> |