blob: f8c32f73880c095bd4aafca3e7ed7612b7e2eac4 [file] [log] [blame]
Jack Jansen7cc57351998-08-18 14:54:11 +00001"Run as Python" -- a BBEdit extension to make the Python interpreter execute the
2contents of the current window.
3
Jack Jansen7cc57351998-08-18 14:54:11 +00004version 0.2.3, 18 september 1996
5
Jack Jansenff4e62d2001-03-27 21:37:06 +00006Note by Jack:
7 Also check out the BBPy.lm contributed software, which is a Python language
8 module for BBedit, providing syntax coloring and function/class navigation.
9
Jack Jansen7cc57351998-08-18 14:54:11 +000010contents:
11- "Run as Python" -- the extension
12- PythonSlave.py -- the "slave" script that handles the AppleEvents
13
14- source -- source code & CW9 project for the extension
15
16quickstart:
17- drop "Run as Python" in BBEdit extensions folder
18- double-click PythonSlave.py
19- start BBEdit
20- type some code
21- go to Extensions menu: "Run as Python"
22- be happy
23
24warning:
25 since PythonSlave.py runs its own event loop and we have no interface
26 to SIOUX you *cannot* copy from the console. Duh.
27
28extra feature:
29 while PythonSlave.py is running you can still double-click Python
30 documents, they will get executed as if Python was not already running.
31
32bugs:
33 perhaps
34
35acknowledgements:
36- Thanks to Joseph Strout for valuable input and beta testing.
37- Thanks to Mark Roseman for providing code that can launch
38 PythonSlave.py from BBEdit.
39
40
41Have fun with it!
42Please report bugs, or fix 'em. Suggestions are always welcome.
43
44Just van Rossum, Letterror
45<just@knoware.nl>