exit(); halt; in pyhton

Jilani Khaldi jilanik at tin.it
Sat Jun 3 21:45:37 EDT 2000


Hi All,

How can I write this Pascal code in python?
var
  x: double;
begin
   if x = 0 then halt
  else
   do others things
end;

Freeing everything.

Thanks.

Jilani

--
<jk>
___________________________________________________
http://space.tin.it/scuola/jkhaldi
FreeBSD ~ The Power to Serve






More information about the Python-list mailing list