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

熱點內容
scratch少兒編程課程 發布:2025-04-16 17:11:44 瀏覽:642
榮耀x10從哪裡設置密碼 發布:2025-04-16 17:11:43 瀏覽:369
java從入門到精通視頻 發布:2025-04-16 17:11:43 瀏覽:89
php微信介面教程 發布:2025-04-16 17:07:30 瀏覽:312
android實現陰影 發布:2025-04-16 16:50:08 瀏覽:795
粉筆直播課緩存 發布:2025-04-16 16:31:21 瀏覽:348
機頂盒都有什麼配置 發布:2025-04-16 16:24:37 瀏覽:213
編寫手游反編譯都需要學習什麼 發布:2025-04-16 16:19:36 瀏覽:819
proteus編譯文件位置 發布:2025-04-16 16:18:44 瀏覽:369
土壓縮的本質 發布:2025-04-16 16:13:21 瀏覽:596