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

熱點內容
pythonjson格式 發布:2025-07-15 08:42:54 瀏覽:675
醫院葯房要什麼配置 發布:2025-07-15 08:29:55 瀏覽:663
編程說明書 發布:2025-07-15 08:16:39 瀏覽:759
android請求超時 發布:2025-07-15 07:56:57 瀏覽:528
修改linux的主機名 發布:2025-07-15 07:52:46 瀏覽:905
天龍八部自動挖礦腳本怎麼寫 發布:2025-07-15 07:42:01 瀏覽:648
本地編譯器怎麼運行 發布:2025-07-15 07:42:00 瀏覽:995
加密狗會壞嗎 發布:2025-07-15 07:38:32 瀏覽:563
jdbc讀取資料庫 發布:2025-07-15 07:38:23 瀏覽:322
華為手機如何設置隱私密碼鎖 發布:2025-07-15 07:36:09 瀏覽:980