当前位置:首页 » 编程语言 » delphiforpython

delphiforpython

发布时间: 2022-06-03 13:56:56

Ⅰ delphi的for语句

var
x,i :Integer;
ss :string;
begin
ss := '';
x := StrToInt(Edit1.Text);
for i := 1 to x do
begin
if ss = '' then
begin
if i=strtoint(Edit2.Text) then ss:='name'
else ss := '1';
end
else
begin
if i=strtoint(Edit2.Text) then ss := ss+',name'
else ss :=ss + ','+inttostr(i);
end;
end;
Edit1.Text :=ss;

end;

Ⅱ 请问在delphi中怎么调用python已经写好的py程序

WinExec(Pchar('C:\Python27\python aaaa.py'),sw_ShowNormal);

Ⅲ python和delphi哪个容易学

从语言的发展来看,delphi所使用的pacal已经基本被时代淘汰了!python的语法,资料更丰富一些,建议学!

Ⅳ delphi 的for循环 如何写

for i:=1 to 5 do
begin
...........
for j:=1 to 8 do
begin
...........
end;
............
end;

Ⅳ delphi和python的关系

Delphi是以Pascal语言为基础的基于对象的GUI程序快速开发环境,类似的比如VB。
Python是一种解释性脚步语言,虽然也可以开发GUI程序,但主打不在哪方面,属于通用型的。

Ⅵ python for delphi 有人用这个配合开发的么

我没有用。
Python应用场合足够简单的任务,例如一些shell编程.如果你喜欢用Python设计大型商业网站或者设计复杂的游戏,悉听尊便.

热点内容
酒店配置什么灭火系统 发布:2025-02-09 08:06:37 浏览:773
java至尊 发布:2025-02-09 08:03:23 浏览:558
pythonwith 发布:2025-02-09 08:00:25 浏览:172
Ftp打开文件是只读模式 发布:2025-02-09 07:40:55 浏览:504
androidlistview点击事件 发布:2025-02-09 07:25:52 浏览:171
targz解压缩 发布:2025-02-09 06:59:19 浏览:311
wpsphp 发布:2025-02-09 06:58:41 浏览:962
视易锋云系统如何架设辅助服务器 发布:2025-02-09 06:47:08 浏览:770
mysql备份脚本shell 发布:2025-02-09 06:46:33 浏览:15
腾讯云服务器怎样调整分辨率 发布:2025-02-09 06:46:30 浏览:369