[Tutor] Does any know of a code that I can look at that will not allow the Programs to shut dos down after I run them

Yigal Duppen yduppen@xs4all.nl
Sat, 21 Sep 2002 02:16:30 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Danny,

The usual way to prevent Dosboxes from closing after a script is as follows:

#!/usr/bin/env python
# Just a silly script
print "Hello world"
raw_input("Press enter to continue...") 	 # <- this is the trick !

This script will print hello world and will pause until you've pressed enter; 
at which point, the Dosbox will close.

As for SuSE 8.0; I just installed it and everything seemed to be present. At 
least for my purposes.

YDD
- -- 
http://www.xs4all.nl/~yduppen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9i7phLsKMuCf5EdwRAvp5AKDbNHCAmZr/JyltTtyobeR7UbcxTwCgtGIg
6ciSxZviNb2t0iPbkJPXOPI=
=yuyG
-----END PGP SIGNATURE-----