forked from lmbelo/python4delphi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit1.pas
More file actions
38 lines (28 loc) · 667 Bytes
/
Unit1.pas
File metadata and controls
38 lines (28 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
unit Unit1;
{$I Definition.Inc}
interface
uses
SysUtils, Classes,
Windows, Messages, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ComCtrls,
PythonEngine, PythonGUIInputOutput;
type
TForm1 = class(TForm)
Splitter1: TSplitter;
Memo1: TMemo;
PythonEngine1: TPythonEngine;
Panel1: TPanel;
Button1: TButton;
PythonGUIInputOutput1: TPythonGUIInputOutput;
Memo2: TMemo;
procedure Button1Click(Sender: TObject);
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
PythonEngine1.ExecStrings( memo1.Lines );
end;
end.