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

熱點內容
java返回this 發布:2025-10-20 08:28:16 瀏覽:543
製作腳本網站 發布:2025-10-20 08:17:34 瀏覽:829
python中的init方法 發布:2025-10-20 08:17:33 瀏覽:534
圖案密碼什麼意思 發布:2025-10-20 08:16:56 瀏覽:715
怎麼清理微信視頻緩存 發布:2025-10-20 08:12:37 瀏覽:638
c語言編譯器怎麼看執行過程 發布:2025-10-20 08:00:32 瀏覽:949
郵箱如何填寫發信伺服器 發布:2025-10-20 07:45:27 瀏覽:206
shell腳本入門案例 發布:2025-10-20 07:44:45 瀏覽:64
怎麼上傳照片瀏覽上傳 發布:2025-10-20 07:44:03 瀏覽:758
python股票數據獲取 發布:2025-10-20 07:39:44 瀏覽:661