PYTHON+SUIT for DOS (under GO32)

Antonio Costa (acc@asterix.inescn.pt)
Sat, 16 Apr 94 19:53:58 +0100

Hi.

I have managed to compile PYTHON with SUIT on my PC using DJGPP
software (which includes gcc 2.5.7, GO32 32 bit DOS extender, etc).

All the demos that are available work fine.

I have already uploaded it (as a self-extracting archive - PYTHONSU.EXE)
to ftp.markv.com so that it could available to everybody. For the
moment, we are short of disk space on our machine (asterix.inescn.pt),
but as soon as possible I'll have it here for download.

For those of you that want to test it, please grab PYTHONSU.EXE and
SUIT2.README (real names are in lowercase) at ftp.markv.com in dir
incoming/python. You have to CD to incoming/python in only 1 command.
The DIR and LS don't work, but the files should be there.

I can also send to any of you the makefiles for DJGPP.

Regards,
Antonio Costa.
PS: here goes a simple example of what PYTHON and SUIT can do together.
This seems, at least to me, the real advantage of things like PYTHON
compared to compilers...
Two of my students wrote the program skeleton in just a few hours, but
spent much more time writing it in C and making it work!
I adapted it to PYTHON in less than 1/2 hour.

There are 2 files: CALC11.PY and CALC11.SUI
Please have CALC11.SUI in the directory where you run it.
----- calc11.pgz (calc11.py.gz) -----
begin 644 calc11.pgz
M'XL( (6GJBT" ]U946_3,!!^SZ\P#RC)FF9)-V" -FF;)H2T >J&M >DSDV]
M8I0Z)7$+$^*_<W:<U&G<T*F@I>U3[.]\OOM\OK-=.IDF*4<3S+]:-/_.9I1;
MUHC<0R]ECOO&0F@<)T,<HV1*4LQIPKS\DXTR#S'R8Z!:'OH"PNJG^L)2MN>A
ME&2SF'MH0B9)^E 1IXP/[G'$D]1#(Q*5WU$RF>"R%>,AB4/+0@M;T#$*K'*Z
M#)HA-#6K5(^N2'45)@H5OJ:D5W;D!I?-W&[5A+;@RJ>,<L>.<!R%H>V*;C%
M0F<SSA/FV($-3M$QY9EK@L-FN-<,'S3#A\WPBV;X93/\JAD^:H9?-\-7'5N&
MR@"/1F:!KA+(9D.SP+D2B&*"4[-(7XFD!)MG$3I6CS^_*.!!C#-NE-F7?LZ-
MV)Z8'F+," K_5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