當前位置:首頁 » 編程語言 » 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設計大型商業網站或者設計復雜的游戲,悉聽尊便.

熱點內容
sql能力 發布:2025-02-09 10:43:50 瀏覽:981
編譯framework 發布:2025-02-09 10:42:11 瀏覽:380
五子棋對戰演算法 發布:2025-02-09 10:12:19 瀏覽:712
php樹菜單 發布:2025-02-09 10:04:10 瀏覽:359
linux保存ip 發布:2025-02-09 10:04:10 瀏覽:23
四川霜狼伺服器怎麼樣 發布:2025-02-09 10:02:44 瀏覽:145
Vs中h編譯選項是灰的 發布:2025-02-09 10:01:59 瀏覽:557
安卓43怎麼升級44 發布:2025-02-09 09:51:33 瀏覽:463
美國雲伺服器快還是香港快 發布:2025-02-09 09:34:33 瀏覽:988
怎麼解壓qq文件 發布:2025-02-09 09:18:14 瀏覽:581