當前位置:首頁 » 編程語言 » 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-09-12 07:12:17 瀏覽:342
編程在線培訓好 發布:2025-09-12 07:10:17 瀏覽:836
可變軸編程 發布:2025-09-12 06:50:08 瀏覽:376
android編程實例 發布:2025-09-12 06:44:10 瀏覽:588
java加解密 發布:2025-09-12 06:30:59 瀏覽:923
php簡單的mvc框架 發布:2025-09-12 06:30:51 瀏覽:367
雜牌伺服器如何重裝系統 發布:2025-09-12 06:22:44 瀏覽:422
oracle資料庫日誌 發布:2025-09-12 06:16:57 瀏覽:265
安卓ins為什麼顯示沒有特效 發布:2025-09-12 06:13:04 瀏覽:233
蘋果運動手環如何連安卓 發布:2025-09-12 06:07:59 瀏覽:63